fix relay exception

This commit is contained in:
jesopo 2019-10-28 13:56:04 +00:00
parent 65c7279ce0
commit 6ee76af907

View file

@ -50,8 +50,8 @@ class Module(ModuleManager.BaseModule):
def _send_factory(self, server, channel_name, message): def _send_factory(self, server, channel_name, message):
def _(): def _():
message = server.send_message(channel_name, message) line = server.send_message(channel_name, message)
server._relay_ignore.append(message.parsed_line.id) server._relay_ignore.append(line.parsed_line.id)
return _ return _
@utils.hook("formatted.message.channel") @utils.hook("formatted.message.channel")