mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Put "prefixName=False" in a bunch of the irc.reply()s so that things like
dunnos wouldn't look stupid.
This commit is contained in:
parent
6382e75820
commit
6cf0005abe
@ -208,7 +208,7 @@ class MoobotFactoids(callbacks.PrivmsgCommandAndRegexp):
|
||||
cursor.execute("""SELECT fact FROM factoids WHERE key = %s""", key)
|
||||
if cursor.rowcount == 0:
|
||||
text = self._getDunno(msg.nick)
|
||||
irc.reply(msg, text)
|
||||
irc.reply(msg, text, prefixName=False)
|
||||
else:
|
||||
fact = cursor.fetchone()[0]
|
||||
# Update the requested count/requested by for this key
|
||||
@ -219,9 +219,9 @@ class MoobotFactoids(callbacks.PrivmsgCommandAndRegexp):
|
||||
if type == "action":
|
||||
irc.queueMsg(ircmsgs.action(ircutils.replyTo(msg), text))
|
||||
elif type == "reply":
|
||||
irc.reply(msg, text)
|
||||
irc.reply(msg, text, prefixName=False)
|
||||
elif type == "define":
|
||||
irc.reply(msg, "%s is %s" % (key, text))
|
||||
irc.reply(msg, "%s is %s" % (key, text), prefixName=False)
|
||||
else:
|
||||
irc.error(msg, "Spurious type from parseFactoid.")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user