Fix role comparisons.

Fixes #409
This commit is contained in:
Rapptz 2016-12-02 01:28:54 -05:00
parent 14a1bbceda
commit b7c90a5e3d

View File

@ -99,7 +99,7 @@ class Role(Hashable):
return True
if self.position == other.position:
return self.id > other.id
return int(self.id) > int(other.id)
return False