irclib: Modes aren't case insenstive

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
James McCoy 2012-06-06 06:00:48 -04:00 committed by Valentin Lorentz
parent 7cc8feaf32
commit 438b50dccc

View File

@ -241,7 +241,7 @@ class ChannelState(utils.python.Object):
self.users = ircutils.IrcSet()
self.voices = ircutils.IrcSet()
self.halfops = ircutils.IrcSet()
self.modes = ircutils.IrcDict()
self.modes = {}
def isOp(self, nick):
return nick in self.ops