Explorar el Código

on_kick tempban fix

tBKwtWS hace 7 años
padre
commit
d69dda1fc2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      events/on_kick.py

+ 1 - 1
events/on_kick.py

@@ -95,7 +95,7 @@ def process_event(self, connection, event):
             return
         
         # Ban.
-        ChanServ.tempban(connection, channel, kicker, "Aggression channel function = equal_retalliation: " + kicked + " is an operator of " + connection.get_nickname() + ".")
+        ChanServ.tempban(connection, channel, kicker, "1h", "Aggression channel function = equal_retalliation: " + kicked + " is an operator of " + connection.get_nickname() + ".")
         connection.mode(channel, "+b " + event.source)
         
         connection.mode(channel, "+e " + event.source)  # Excempt operator.