mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
ts6_common: update nick TS on SAVE as well (#267)
This commit is contained in:
parent
16b162ffbe
commit
a06b478a2e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user