diff --git a/apps/objects/sql/object.sql b/apps/objects/sql/object.sql index 7777743601..a616c3f2c8 100644 --- a/apps/objects/sql/object.sql +++ b/apps/objects/sql/object.sql @@ -1,2 +1,3 @@ INSERT INTO "objects_object" VALUES(1,'Wizard','Wizard',1,0,2,1,'',2,'','CONNECTED','2007-04-25'); -INSERT INTO "objects_object" VALUES(2,'Limbo','Limbo',1,NULL,NULL,2,'Welcome to your new Evennia-based game. From here you are ready to begin development. If you should need help or would like to participate in community discussions, visit http://evennia.com.',NULL,'','','2007-04-25'); \ No newline at end of file +INSERT INTO "objects_object" VALUES(2,'Limbo','Limbo',1,NULL,NULL,2,'Welcome to your new Evennia-based game. From here you are ready to begin development. If you should need help or would like to participate in community discussions, visit http://evennia.com.',NULL,'','','2007-04-25'); +INSERT INTO "objects_commchannel" VALUES(1,'Public','Public',1,'Public Discussion'); \ No newline at end of file diff --git a/functions_comsys.py b/functions_comsys.py index edd0d0776e..b97b851b66 100644 --- a/functions_comsys.py +++ b/functions_comsys.py @@ -45,7 +45,7 @@ def create_channel(cdat): """ new_chan = CommChannel() new_chan.name = ansi.parse_ansi(cdat["name"], strip_ansi=True) - new_chan.header = "[%s]" % (ansi.parse_ansi(cdat["name"]),) + new_chan.ansi_name = "[%s]" % (ansi.parse_ansi(cdat["name"]),) new_chan.set_owner(cdat["owner"]) new_chan.save() return new_chan