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:
hostmask = irc.state.nickToHostmask(nick)
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
newmsg = ircmsgs.privmsg(irc.nick, factoid+'?', prefix=hostmask)
try: