mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Dispatch __eq__ and __hash__ to our real Irc.
This commit is contained in:
parent
a9694c1012
commit
8bbed5a90e
@ -513,6 +513,12 @@ class IrcObjectProxy(RichReplyMethods):
|
|||||||
world.commandsProcessed += 1
|
world.commandsProcessed += 1
|
||||||
self.evalArgs()
|
self.evalArgs()
|
||||||
|
|
||||||
|
def __eq__(self, other):
|
||||||
|
return other == self.getRealIrc()
|
||||||
|
|
||||||
|
def __hash__(self):
|
||||||
|
return hash(self.getRealIrc())
|
||||||
|
|
||||||
def _resetReplyAttributes(self):
|
def _resetReplyAttributes(self):
|
||||||
self.to = None
|
self.to = None
|
||||||
self.action = None
|
self.action = None
|
||||||
|
Loading…
Reference in New Issue
Block a user