diff --git a/plugins/Infobot.py b/plugins/Infobot.py index e5df40300..4b6d45121 100755 --- a/plugins/Infobot.py +++ b/plugins/Infobot.py @@ -474,6 +474,9 @@ class Infobot(callbacks.PrivmsgCommandAndRegexp): _forceRe = re.compile(r'^no[,: -]+', re.I) _karmaRe = re.compile(r'^(?:\S+|\(.+\))(?:\+\+|--)(?:\s+)?$') def doPrivmsg(self, irc, msg): + if msg.repliedTo: + self.log.debug('Returning early from doPrivmsg, msg.repliedTo.') + return try: if ircmsgs.isCtcp(msg): return @@ -595,9 +598,6 @@ class Infobot(callbacks.PrivmsgCommandAndRegexp): # Does the dunno'ing for us itself. self.factoid(key, prepend=random.choice(starts)) - def invalidCommand(self, irc, msg, tokens): - irc.finished = True - def doFactoid(self, irc, msg, match): r"^(.+?)\s+(?