mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
relay: also propagate AWAY status when spawning users
This commit is contained in:
parent
486b56e255
commit
3ee10a5d1e
@ -143,6 +143,9 @@ def getRemoteUser(irc, remoteirc, user, spawnIfMissing=True):
|
||||
host=host, realname=realname,
|
||||
modes=modes, ts=userobj.ts).uid
|
||||
remoteirc.users[u].remote = irc.name
|
||||
away = userobj.away
|
||||
if away:
|
||||
remoteirc.proto.awayClient(remoteirc, u, away)
|
||||
relayusers[(irc.name, user)][remoteirc.name] = u
|
||||
return u
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user