use event["from_self"] instead of checking nickname
This commit is contained in:
parent
9f4e0c174a
commit
afa6b86c41
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class Module(ModuleManager.BaseModule):
|
|||
return channel.get_setting("channel-relays", [])
|
||||
|
||||
def _relay(self, event, channel):
|
||||
if event["server"].is_own_nickname(event["user"].nickname):
|
||||
if event["from_self"]:
|
||||
return
|
||||
|
||||
relays = self._get_relays(channel)
|
||||
|
|
Loading…
Reference in a new issue