better output.

This commit is contained in:
Jeremy Fincher 2004-09-16 18:49:29 +00:00
parent 324ab71db4
commit c7278b5902

View File

@ -407,8 +407,9 @@ class Misc(callbacks.Privmsg):
if irc.nested: if irc.nested:
irc.reply(utils.commaAndify(names)) irc.reply(utils.commaAndify(names))
else: else:
irc.reply('The %s command is available in %s.' % irc.reply('The %r command is available in the %s %s.' %
(command, plugin)) (command, plugin,
utils.pluralize('plugin', len(names))))
else: else:
irc.error('There is no such command %s.' % command) irc.error('There is no such command %s.' % command)