Forgot to handle the case where there wasn't any command in morehelp.

This commit is contained in:
Jeremy Fincher 2003-09-11 20:18:58 +00:00
parent 47ea9b809f
commit 00418143dc

View File

@ -180,6 +180,8 @@ class MiscCommands(callbacks.Privmsg):
(command, simplehelp)) (command, simplehelp))
else: else:
irc.error(msg, 'That command has no help at all.') irc.error(msg, 'That command has no help at all.')
else:
irc.error(msg, 'There is no such command %s.' % command)
def bug(self, irc, msg, args): def bug(self, irc, msg, args):
"""<description> """<description>