mirror of https://github.com/fail2ban/fail2ban
removes mistaken return in quiet case for set jail attempt command
parent
c54d505dea
commit
912e3c81a2
|
@ -353,7 +353,6 @@ class Transmitter:
|
||||||
return self.__server.getBanTime(name)
|
return self.__server.getBanTime(name)
|
||||||
elif command[1] == "attempt":
|
elif command[1] == "attempt":
|
||||||
value = command[2:]
|
value = command[2:]
|
||||||
if self.__quiet: return
|
|
||||||
return self.__server.addAttemptIP(name, *value)
|
return self.__server.addAttemptIP(name, *value)
|
||||||
elif command[1].startswith("bantime."):
|
elif command[1].startswith("bantime."):
|
||||||
value = command[2]
|
value = command[2]
|
||||||
|
|
Loading…
Reference in New Issue