Better way to reply with the help.

This commit is contained in:
James Vega 2004-12-09 19:15:09 +00:00
parent 5466544350
commit 7862d8d5d2

View File

@ -252,7 +252,7 @@ class Markov(callbacks.Privmsg):
# Can't just "raise callbacks.ArgumentError" because
# exception is thrown in MarkovQueue, where it isn't
# caught and no message is sent to the server
irc.reply(self.getCommandHelp('markov'))
irc.error()
return
else:
givenArgs = False