mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Fixed fallthrough handling.
This commit is contained in:
parent
64c2558150
commit
c49b32f224
@ -101,8 +101,9 @@ class AutoMode(callbacks.Privmsg):
|
|||||||
if ircdb.checkCapability(msg.prefix, cap):
|
if ircdb.checkCapability(msg.prefix, cap):
|
||||||
msgmaker = getattr(ircmsgs, type)
|
msgmaker = getattr(ircmsgs, type)
|
||||||
irc.queueMsg(msgmaker(channel, msg.nick))
|
irc.queueMsg(msgmaker(channel, msg.nick))
|
||||||
if not fallthrough:
|
raise Continue # Even if fallthrough, let's only do one.
|
||||||
raise Continue
|
elif not fallthrough:
|
||||||
|
raise Continue
|
||||||
try:
|
try:
|
||||||
do('op')
|
do('op')
|
||||||
if 'h' in irc.state.supported['prefix']:
|
if 'h' in irc.state.supported['prefix']:
|
||||||
|
Loading…
Reference in New Issue
Block a user