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

View File

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