mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
AutoMode: Do not make voice override ban. Closes GH-160.
This commit is contained in:
parent
e02a766f82
commit
c6346e48dd
@ -126,7 +126,6 @@ class AutoMode(callbacks.Plugin):
|
|||||||
do('op')
|
do('op')
|
||||||
if 'h' in irc.state.supported['prefix']:
|
if 'h' in irc.state.supported['prefix']:
|
||||||
do('halfop')
|
do('halfop')
|
||||||
do('voice')
|
|
||||||
except Continue:
|
except Continue:
|
||||||
return
|
return
|
||||||
finally:
|
finally:
|
||||||
@ -147,6 +146,10 @@ class AutoMode(callbacks.Plugin):
|
|||||||
irc.queueMsg(ircmsgs.ban(channel, banmask))
|
irc.queueMsg(ircmsgs.ban(channel, banmask))
|
||||||
irc.queueMsg(ircmsgs.kick(channel, msg.nick))
|
irc.queueMsg(ircmsgs.kick(channel, msg.nick))
|
||||||
|
|
||||||
|
try:
|
||||||
|
do('voice')
|
||||||
|
except Continue:
|
||||||
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user