freenode / Sigyn

A Limnoria plugin to fight abuse on IRC networks
Other
46 stars 31 forks source link

/msg sigyn unkline nickhere is case-sensitive #18

Closed fndax closed 6 years ago

fndax commented 6 years ago

The argument to the unkline command should be matched case-insensitively against the kline list, as often chanops (including me, apparently) will type it manually and neglect case. I wouldn't worry about the weird []|{}\ stuff, just A-Z and a-z.

I'm not awake enough to patch this, but I suspect the fix is adding a couple of .lower() on the line https://github.com/freenode/Sigyn/blob/master/plugin.py#L887