mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
DOC: thanks @kwirk for spotting the typos in exception message
This commit is contained in:
parent
301460f451
commit
ffe48741e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue