There were some unforseen consequences of using irc.error(), so back to

this way for now.
This commit is contained in:
James Vega 2004-12-10 05:55:04 +00:00
parent d5af6fc1f0
commit 9f84f150b7

View File

@ -257,7 +257,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.error()
irc.reply(self.getCommandHelp('markov'))
return
else:
givenArgs = False