mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Forgot to check if conf.replyWhenNotCommand is True before deciding not to respond if there's a non-command in the dealio.
This commit is contained in:
parent
417c1f3ea4
commit
a0e0ca2c5f
@ -578,6 +578,7 @@ class Privmsg(irclib.IrcCallback):
|
|||||||
if msg:
|
if msg:
|
||||||
try:
|
try:
|
||||||
args = tokenize(s)
|
args = tokenize(s)
|
||||||
|
if conf.replyWhenNotCommand:
|
||||||
for command in getCommands(args):
|
for command in getCommands(args):
|
||||||
command = canonicalName(command)
|
command = canonicalName(command)
|
||||||
if not findCallbackForCommand(irc, command):
|
if not findCallbackForCommand(irc, command):
|
||||||
|
Loading…
Reference in New Issue
Block a user