mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-03 08:04:07 +01:00
SedRegex: match channel names case insensitively
Some IRCds (Unreal 3.2) don't mangle target names for case correctness, leading to a bug where users end up ignored by the plugin.
Reported by DOMF via IRC.
From: e19abe0498
This commit is contained in:
parent
67a3928e4d
commit
937930ab6a
@ -130,7 +130,7 @@ class SedRegex(callbacks.PluginRegexp):
|
||||
|
||||
for m in iterable:
|
||||
if m.command in ('PRIVMSG', 'NOTICE') and \
|
||||
m.args[0] == msg.args[0] and m.tagged('receivedBy') == irc:
|
||||
ircutils.strEqual(m.args[0], msg.args[0]) and m.tagged('receivedBy') == irc:
|
||||
if target and m.nick != target:
|
||||
continue
|
||||
# Don't snarf ignored users' messages unless specifically
|
||||
|
Loading…
Reference in New Issue
Block a user