Let's move noReply() to RichReplyMethods so that anything that subclasses

it can use noReply().  Fixes bug #1032406
This commit is contained in:
James Vega 2004-09-24 13:52:46 +00:00
parent 243456aedd
commit 35894401c7

View File

@ -447,6 +447,9 @@ class RichReplyMethods(object):
else:
self.reply(prefixer(s), **kwargs)
def noReply(self):
self.msg.tag('repliedTo')
def _error(self, s, Raise=False, **kwargs):
if Raise:
raise Error, s
@ -841,9 +844,6 @@ class IrcObjectProxy(RichReplyMethods):
else:
raise ArgumentError # We shouldn't get here, but just in case.
def noReply(self):
self.msg.tag('repliedTo')
def getRealIrc(self):
"""Returns the real irclib.Irc object underlying this proxy chain."""
if isinstance(self.irc, irclib.Irc):