mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Let's move noReply() to RichReplyMethods so that anything that subclasses
it can use noReply(). Fixes bug #1032406
This commit is contained in:
parent
243456aedd
commit
35894401c7
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user