tBKwtWS преди 7 години
родител
ревизия
b279a28192
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      events/on_nick.py

+ 3 - 3
events/on_nick.py

@@ -5,12 +5,12 @@ def process_event(self, connection, event):
     
     # Keep preferred nick.
     if event.source.nick == connection.nickname:    # Preffered nick being changed.
-            log.info("Assuming original nick.")
-            NickServ.recover_nick(connection, self.password)
+        log.info("Assuming original nick.")
+        NickServ.recover_nick(connection, self.password)
             
     if event.source.nick in self.protectees:    # Protectee chaning nick.
         del self.protectees[event.source.nick]  # Remove old nick from list.
         connection.who(event.target)    # Get whorepy to add new nick to protectees.
     
-    # Update stats in db.
+    # Update last act.