Fixes #2220 ……

This commit is contained in:
mathieui 2011-07-18 22:17:46 +02:00
parent 1a50dd9241
commit f967a81142

View file

@ -78,7 +78,7 @@ class User(object):
return ">%s<" % (self.nick) return ">%s<" % (self.nick)
def __eq__(self, b): def __eq__(self, b):
return self.role == b.role and self.nick.lower() == b.nick.lower() return self.role == b.role and self.nick == b.nick
def __gt__(self, b): def __gt__(self, b):
if ROLE_DICT[self.role] == ROLE_DICT[b.role]: if ROLE_DICT[self.role] == ROLE_DICT[b.role]: