aboutsummaryrefslogtreecommitdiff
path: root/discord/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/user.py')
-rw-r--r--discord/user.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/discord/user.py b/discord/user.py
index 973a9ae2..455fca14 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -64,9 +64,7 @@ class User(object):
return isinstance(other, User) and other.id == self.id
def __ne__(self, other):
- if isinstance(other, User):
- return other.id != self.id
- return False
+ return not self.__eq__(other)
@property
def avatar_url(self):