Fixes #2220 ……
This commit is contained in:
parent
1a50dd9241
commit
f967a81142
1 changed files with 1 additions and 1 deletions
|
@ -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]:
|
||||||
|
|
Loading…
Reference in a new issue