fix relay exception
This commit is contained in:
parent
65c7279ce0
commit
6ee76af907
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
def _send_factory(self, server, channel_name, message):
|
||||
def _():
|
||||
message = server.send_message(channel_name, message)
|
||||
server._relay_ignore.append(message.parsed_line.id)
|
||||
line = server.send_message(channel_name, message)
|
||||
server._relay_ignore.append(line.parsed_line.id)
|
||||
return _
|
||||
|
||||
@utils.hook("formatted.message.channel")
|
||||
|
|
Loading…
Reference in a new issue