AttackProtector: Fix the doc.

master
Valentin Lorentz 2012-08-01 07:52:34 +00:00
parent 3538db6a34
commit c5b2c8851d
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ XpY = internationalizeDocstring(XpY)
class Punishment(registry.String):
"""Value must be a valid punishment ('ban', 'kick', 'kban', 'mode+X',
'mode-X', 'umode-X', 'command XXX', ...)"""
'mode-X', 'umode+X', 'umode-X', 'command XXX', ...)"""
def set(self, s):
if s not in ('ban', 'kick', 'kban') and not s.startswith('mode+') and \
not s.startswith('mode-') and not s.startswith('umode-') and \