mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +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:
|
else:
|
||||||
realhost = None
|
realhost = None
|
||||||
ip = '0.0.0.0'
|
ip = '0.0.0.0'
|
||||||
u = remoteirc.proto.spawnClient(nick, ident=ident,
|
|
||||||
host=host, realname=realname,
|
u = remoteirc.proto.spawnClient(nick, ident=ident, host=host, realname=realname, modes=modes,
|
||||||
modes=modes, ts=userobj.ts,
|
opertype=opertype, server=rsid, ip=ip, realhost=realhost).uid
|
||||||
opertype=opertype, server=rsid,
|
|
||||||
ip=ip, realhost=realhost).uid
|
|
||||||
try:
|
try:
|
||||||
remoteirc.users[u].remote = (irc.name, user)
|
remoteirc.users[u].remote = (irc.name, user)
|
||||||
remoteirc.users[u].opertype = opertype
|
remoteirc.users[u].opertype = opertype
|
||||||
|
Loading…
Reference in New Issue
Block a user