mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-04 09:21:12 -05:00
RelayLink: fix bug where 'nicks' would miss certain networks (we shouldn't be using regex at all here!)
This commit is contained in:
parent
92667d3784
commit
1ca254ab51
@ -451,7 +451,9 @@ class RelayLink(callbacks.Plugin):
|
|||||||
channels = relay.targetIRC.state.channels
|
channels = relay.targetIRC.state.channels
|
||||||
found = False
|
found = False
|
||||||
for key, channel_ in channels.items():
|
for key, channel_ in channels.items():
|
||||||
if re.match(relay.targetChannel, key):
|
#if re.match(relay.targetChannel, key):
|
||||||
|
if ircutils.toLower(relay.targetChannel) \
|
||||||
|
== ircutils.toLower(key):
|
||||||
found = True
|
found = True
|
||||||
break
|
break
|
||||||
if not found:
|
if not found:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user