mirror of https://github.com/fail2ban/fail2ban
DOC: thanks @kwirk for spotting the typos in exception message
parent
301460f451
commit
ffe48741e3
|
@ -123,7 +123,7 @@ class Transmitter:
|
|||
elif command[2] == "off":
|
||||
self.__server.setIdleJail(name, False)
|
||||
else:
|
||||
raise Exception("Invalid idle option, must be 'yes' or 'no'")
|
||||
raise Exception("Invalid idle option, must be 'on' or 'off'")
|
||||
return self.__server.getIdleJail(name)
|
||||
# Filter
|
||||
elif command[1] == "addignoreip":
|
||||
|
|
Loading…
Reference in New Issue