Whoops, forgot an arg to the string formatting

This commit is contained in:
Daniel DiPaolo 2004-09-09 21:18:57 +00:00
parent bebe005584
commit 0f89737c16

View File

@ -713,7 +713,8 @@ class Infobot(callbacks.PrivmsgCommandAndRegexp):
try: try:
hostmask = irc.state.nickToHostmask(nick) hostmask = irc.state.nickToHostmask(nick)
except KeyError: except KeyError:
irc.error('I haven\'t seen %s, I\'ll let you do the telling.') irc.error('I haven\'t seen %s, I\'ll let you '
'do the telling.' % nick)
return return
newmsg = ircmsgs.privmsg(irc.nick, factoid+'?', prefix=hostmask) newmsg = ircmsgs.privmsg(irc.nick, factoid+'?', prefix=hostmask)
try: try: