mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
relay: rejoin killed users to the RIGHT channels
This commit is contained in:
parent
2e0a5e52e2
commit
8faf86aa8f
@ -670,7 +670,7 @@ def handle_kill(irc, numeric, command, args):
|
|||||||
# client and rejoin it to its channels.
|
# client and rejoin it to its channels.
|
||||||
del relayusers[realuser][irc.name]
|
del relayusers[realuser][irc.name]
|
||||||
remoteirc = world.networkobjects[realuser[0]]
|
remoteirc = world.networkobjects[realuser[0]]
|
||||||
for remotechan in remoteirc.channels.copy():
|
for remotechan in remoteirc.users[realuser[1]].channels:
|
||||||
localchan = findRemoteChan(remoteirc, irc, remotechan)
|
localchan = findRemoteChan(remoteirc, irc, remotechan)
|
||||||
if localchan:
|
if localchan:
|
||||||
modes = getPrefixModes(remoteirc, irc, localchan, realuser[1])
|
modes = getPrefixModes(remoteirc, irc, localchan, realuser[1])
|
||||||
|
Loading…
Reference in New Issue
Block a user