Make DEFAULT_CHANNELS auto-recreate missing channels. Add new CHANNEL_MUDINFO setting.
This commit is contained in:
parent
dd8b3c1ba2
commit
c520ef86c9
6 changed files with 65 additions and 19 deletions
|
|
@ -304,7 +304,7 @@ class ServerSession(Session):
|
|||
cchan = channel and settings.CHANNEL_CONNECTINFO
|
||||
if cchan:
|
||||
try:
|
||||
cchan = ChannelDB.objects.get_channel(cchan[0])
|
||||
cchan = ChannelDB.objects.get_channel(cchan['key'])
|
||||
cchan.msg("[%s]: %s" % (cchan.key, message))
|
||||
except Exception:
|
||||
logger.log_trace()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue