3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

ts6_common: update nick TS on SAVE as well (#267)

This commit is contained in:
James Lu 2016-07-10 21:13:56 -07:00
parent 16b162ffbe
commit a06b478a2e

View File

@ -407,7 +407,10 @@ class TS6BaseProtocol(IRCS2SProtocol):
user = args[0]
oldnick = self.irc.users[user].nick
self.irc.users[user].nick = user
return {'target': user, 'ts': int(args[1]), 'oldnick': oldnick}
self.irc.users[user].ts = ts = int(args[1])
return {'target': user, 'ts': ts, 'oldnick': oldnick}
def handle_topic(self, numeric, command, args):
"""Handles incoming TOPIC changes from clients. For topic bursts,