Dispatch __eq__ and __hash__ to our real Irc.

This commit is contained in:
Jeremy Fincher 2004-09-12 05:48:19 +00:00
parent a9694c1012
commit 8bbed5a90e

View File

@ -513,6 +513,12 @@ class IrcObjectProxy(RichReplyMethods):
world.commandsProcessed += 1
self.evalArgs()
def __eq__(self, other):
return other == self.getRealIrc()
def __hash__(self):
return hash(self.getRealIrc())
def _resetReplyAttributes(self):
self.to = None
self.action = None