From 1ca254ab51455c553694cd4f49f79dcf08d90e3a Mon Sep 17 00:00:00 2001 From: GLolol Date: Wed, 2 Jul 2014 22:56:39 -0700 Subject: [PATCH] RelayLink: fix bug where 'nicks' would miss certain networks (we shouldn't be using regex at all here!) --- RelayLink/plugin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RelayLink/plugin.py b/RelayLink/plugin.py index cf570d6..e59693a 100755 --- a/RelayLink/plugin.py +++ b/RelayLink/plugin.py @@ -451,7 +451,9 @@ class RelayLink(callbacks.Plugin): channels = relay.targetIRC.state.channels found = False 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 break if not found: