From d472938bae4317958dd7fc918fbee3ce10243ef3 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 21 Oct 2003 19:00:12 +0000 Subject: [PATCH] Made the ambiguous error message when multiple commands are ambiguous a little prettier. --- src/Misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Misc.py b/src/Misc.py index b44d454cf..6960bd54b 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -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))