Browse Source

on_kick tempban fix

tBKwtWS 7 years ago
parent
commit
d69dda1fc2
1 changed files with 1 additions and 1 deletions
  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.