aboutsummaryrefslogtreecommitdiff
path: root/discord/mixins.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-01-10 04:34:24 -0500
committerRapptz <[email protected]>2017-01-10 04:37:45 -0500
commit7e2c016eaa795a12de0255bb9d4b7e318768d75d (patch)
treea4a67340ec49780d68ae8d1fc6655b4352bd57ce /discord/mixins.py
parentFix NameError inside HTTPClient.edit_member. (diff)
downloaddiscord.py-7e2c016eaa795a12de0255bb9d4b7e318768d75d.tar.xz
discord.py-7e2c016eaa795a12de0255bb9d4b7e318768d75d.zip
Remove extraneous unneeded hash calls.
Diffstat (limited to 'discord/mixins.py')
-rw-r--r--discord/mixins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/mixins.py b/discord/mixins.py
index 0ed57945..a0cf0480 100644
--- a/discord/mixins.py
+++ b/discord/mixins.py
@@ -39,4 +39,4 @@ class Hashable(EqualityComparable):
__slots__ = ()
def __hash__(self):
- return hash(self.id)
+ return self.id >> 22