mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-27 13:31:10 -05:00
RelayNext: fix network initialization
This commit is contained in:
parent
e56ba60f22
commit
27e2a290b3
@ -230,6 +230,7 @@ class RelayNext(callbacks.Plugin):
|
|||||||
|
|
||||||
def relay(self, irc, msg, channel=None):
|
def relay(self, irc, msg, channel=None):
|
||||||
self.keepState(irc, msg)
|
self.keepState(irc, msg)
|
||||||
|
self.initializeNetworks()
|
||||||
channel = channel or msg.args[0]
|
channel = channel or msg.args[0]
|
||||||
ignoredevents = map(str.upper, self.registryValue('events.userIgnored'))
|
ignoredevents = map(str.upper, self.registryValue('events.userIgnored'))
|
||||||
if msg.command in ignoredevents and ircdb.checkIgnored(msg.prefix):
|
if msg.command in ignoredevents and ircdb.checkIgnored(msg.prefix):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user