|
@@ -9,6 +9,7 @@ def process_event(self, connection, event):
|
|
|
log.info("Assuming original nick.")
|
|
log.info("Assuming original nick.")
|
|
|
NickServ.recover_nick(connection, self.password)
|
|
NickServ.recover_nick(connection, self.password)
|
|
|
|
|
|
|
|
|
|
+ # Update protectees.
|
|
|
if event.source.nick in self.protectees: # Protectee chaning nick.
|
|
if event.source.nick in self.protectees: # Protectee chaning nick.
|
|
|
del self.protectees[event.source.nick] # Remove old nick from list.
|
|
del self.protectees[event.source.nick] # Remove old nick from list.
|
|
|
connection.who(event.target) # Get whorepy to add new nick to protectees.
|
|
connection.who(event.target) # Get whorepy to add new nick to protectees.
|