Oops, broke something, and didn't fix anything.

This commit is contained in:
Jeremy Fincher 2003-09-10 19:28:44 +00:00
parent 7dfdef787a
commit 30bedebba3
1 changed files with 2 additions and 2 deletions

View File

@ -63,10 +63,10 @@ class MiscCommands(callbacks.Privmsg):
notCommands = []
for command in callbacks.getCommands(tokens):
if not callbacks.findCallbackForCommand(irc, command):
notCommands.append(command)
notCommands.append(repr(command))
if notCommands:
if len(notCommands) == 1:
s = '%r is not a command.' % notCommands[0]
s = '%s is not a command.' % notCommands[0]
else:
s = '%s are not commands' % \
utils.commaAndify(notCommands)