mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
relay: don't create relay clones with the user's original TS
There's no point of doing this. Relay should purposely lose nick collisions anyways because it can simply switch to the next one.
This commit is contained in:
parent
84452bec2e
commit
9c2bec7a3d
@ -318,11 +318,9 @@ def spawnRelayUser(irc, remoteirc, user):
|
||||
else:
|
||||
realhost = None
|
||||
ip = '0.0.0.0'
|
||||
u = remoteirc.proto.spawnClient(nick, ident=ident,
|
||||
host=host, realname=realname,
|
||||
modes=modes, ts=userobj.ts,
|
||||
opertype=opertype, server=rsid,
|
||||
ip=ip, realhost=realhost).uid
|
||||
|
||||
u = remoteirc.proto.spawnClient(nick, ident=ident, host=host, realname=realname, modes=modes,
|
||||
opertype=opertype, server=rsid, ip=ip, realhost=realhost).uid
|
||||
try:
|
||||
remoteirc.users[u].remote = (irc.name, user)
|
||||
remoteirc.users[u].opertype = opertype
|
||||
|
Loading…
Reference in New Issue
Block a user