changed factoids to use irc.reply(..., action=True) instead of queueMsg

This commit is contained in:
Daniel DiPaolo 2003-11-03 03:23:00 +00:00
parent 526c4c3e56
commit 0de26afa99

View File

@ -203,7 +203,7 @@ class MoobotFactoids(callbacks.PrivmsgCommandAndRegexp):
# Now actually get the factoid and respond accordingly
(type, text) = self.parseFactoid(irc, msg, fact)
if type == "action":
irc.queueMsg(ircmsgs.action(ircutils.replyTo(msg), text))
irc.reply(msg, text, action=True)
elif type == "reply":
irc.reply(msg, text, prefixName=False)
elif type == "define":