Converted msg-arguments to options
This commit is contained in:
parent
cd8651c740
commit
8448b513e1
6 changed files with 25 additions and 21 deletions
|
|
@ -198,7 +198,7 @@ class DefaultChannel(with_metaclass(TypeclassBase, ChannelDB)):
|
|||
try:
|
||||
# note our addition of the from_channel keyword here. This could be checked
|
||||
# by a custom player.msg() to treat channel-receives differently.
|
||||
entity.msg(msg.message, from_obj=msg.senders, from_channel=self.id)
|
||||
entity.msg(msg.message, from_obj=msg.senders, options={"from_channel":self.id})
|
||||
except AttributeError as e:
|
||||
logger.log_trace("%s\nCannot send msg to '%s'." % (e, entity))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue