mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-10-25 21:47:21 +02:00
When searching for 'st*ke', 'stryker' would incorrectly match, 'stryke' would
be added to the nick set and the subsequent lookup would cause a KeyError.
This is fixed both by anchoring the regexp ('^st.*ke$' instead of 'st.*ke')
and adding searchNick to the nick set instead of the string that matched the
pattern.
Closes: Sf#3377381
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 0cd4939678e5839c85b57460c7c4b000c8fc1751)
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
Insert a description of your plugin here, with any notes, etc. about using it.