Made a first version of command IRC2Chan, server starts but no more testing yet.

This commit is contained in:
Griatch 2014-02-23 22:30:29 +01:00
parent 2108506a8a
commit 75ef743297
5 changed files with 337 additions and 347 deletions

View file

@ -171,7 +171,7 @@ class Channel(TypeClass):
try:
# note our addition of the from_channel keyword here. This could be checked
# by a custom player.msg() to treat channel-receives differently.
player.msg(msg.message, from_obj=msg.senders, from_channel=self)
player.msg(msg.message, from_obj=msg.senders, from_channel=self.id)
except AttributeError:
try:
player.to_external(msg.message,