Revert "Apply user mode changes to banmasks"

This reverts commit e6f53d7397.
master
Erika Mustermann 2013-03-20 12:41:23 -05:00
parent e6f53d7397
commit ddeae9b5f6
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class AttackProtector(callbacks.Plugin):
msg = ircmsgs.mode(channel, punishment[len('mode'):])
irc.queueMsg(msg)
elif punishment.startswith('umode'):
msg = ircmsgs.mode(channel, (punishment[len('umode'):], banmask))
msg = ircmsgs.mode(channel, (punishment[len('umode'):], nick))
irc.queueMsg(msg)
elif punishment.startswith('command '):
tokens = callbacks.tokenize(punishment[len('command '):])