Added #1 to default channels. Had IRC log to a default channel. Added some more feedback upon module import failures.

This commit is contained in:
Griatch 2009-08-29 10:36:00 +00:00
parent 929786638d
commit 5a3d901b5c
4 changed files with 33 additions and 20 deletions

View file

@ -71,10 +71,14 @@ def create_channels():
description="Public Discussion")
chan_pub.is_joined_by_default = True
chan_pub.save()
comsys.create_channel(settings.COMMCHAN_MUD_INFO, god_user_obj,
description="Informative messages")
comsys.create_channel(settings.COMMCHAN_MUD_CONNECTIONS, god_user_obj,
description="Connection log")
chan_info = comsys.create_channel(settings.COMMCHAN_MUD_INFO, god_user_obj,
description="Informative messages")
chan_conn = comsys.create_channel(settings.COMMCHAN_MUD_CONNECTIONS, god_user_obj,
description="Connection log")
#add god user to default channels.
comsys.plr_add_channel(god_user_obj, "pub", chan_pub)
comsys.plr_add_channel(god_user_obj, "info", chan_info)
comsys.plr_add_channel(god_user_obj, "conn", chan_conn)
def create_config_values():
"""