AttackProtector: Fix the doc.
parent
3538db6a34
commit
c5b2c8851d
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue