From 6ee76af907ed4e066c1a9564457f8222782a5697 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 28 Oct 2019 13:56:04 +0000 Subject: [PATCH] fix relay exception --- modules/relay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/relay.py b/modules/relay.py index fdf9f9f8..9e266043 100644 --- a/modules/relay.py +++ b/modules/relay.py @@ -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")