mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +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')
|
||||
if 'h' in irc.state.supported['prefix']:
|
||||
do('halfop')
|
||||
do('voice')
|
||||
except Continue:
|
||||
return
|
||||
finally:
|
||||
@ -147,6 +146,10 @@ class AutoMode(callbacks.Plugin):
|
||||
irc.queueMsg(ircmsgs.ban(channel, banmask))
|
||||
irc.queueMsg(ircmsgs.kick(channel, msg.nick))
|
||||
|
||||
try:
|
||||
do('voice')
|
||||
except Continue:
|
||||
return
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user