mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
There were some unforseen consequences of using irc.error(), so back to
this way for now.
This commit is contained in:
parent
d5af6fc1f0
commit
9f84f150b7
@ -257,7 +257,7 @@ class Markov(callbacks.Privmsg):
|
|||||||
# Can't just "raise callbacks.ArgumentError" because
|
# Can't just "raise callbacks.ArgumentError" because
|
||||||
# exception is thrown in MarkovQueue, where it isn't
|
# exception is thrown in MarkovQueue, where it isn't
|
||||||
# caught and no message is sent to the server
|
# caught and no message is sent to the server
|
||||||
irc.error()
|
irc.reply(self.getCommandHelp('markov'))
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
givenArgs = False
|
givenArgs = False
|
||||||
|
Loading…
Reference in New Issue
Block a user