Made the ambiguous error message when multiple commands are ambiguous a little prettier.

This commit is contained in:
Jeremy Fincher 2003-10-21 19:00:12 +00:00
parent 3c4a53c42c
commit d472938bae
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ class Misc(callbacks.Privmsg):
L = []
while ambiguousCommands:
(command, cbs) = ambiguousCommands.popitem()
L.append('%r is available in the %s plugins' % \
(command, utils.commaAndify(cbs)))
L.append('The command %r is available in the %s '
'plugins' % (command, utils.commaAndify(cbs)))
s = '%s; please specify from which plugins to ' \
'call these commands.' % '; '.join(L)
irc.queueMsg(callbacks.reply(msg, 'Error: ' + s))