Fixed fallthrough handling.

This commit is contained in:
Jeremy Fincher 2004-10-22 19:36:30 +00:00
parent 64c2558150
commit c49b32f224
1 changed files with 3 additions and 2 deletions

View File

@ -101,8 +101,9 @@ class AutoMode(callbacks.Privmsg):
if ircdb.checkCapability(msg.prefix, cap):
msgmaker = getattr(ircmsgs, type)
irc.queueMsg(msgmaker(channel, msg.nick))
if not fallthrough:
raise Continue
raise Continue # Even if fallthrough, let's only do one.
elif not fallthrough:
raise Continue
try:
do('op')
if 'h' in irc.state.supported['prefix']: