Closed dgw closed 8 years ago
Probably due to missing conversion to Identifier objects before manipulating nicks with .lower() and looking for them in bot.privileges elements.
Identifier
bot.privileges
>>> from sopel.tools import Identifier >>> s = 'Kaitou^' >>> i = Identifier('Kaitou^') >>> s.lower() 'kaitou^' >>> i.lower() u'kaitou~'
Probably due to missing conversion to
Identifier
objects before manipulating nicks with .lower() and looking for them inbot.privileges
elements.