mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
relay: look at the right prefix mode list when rejoining from KILL
This commit is contained in:
parent
cb83db4c1c
commit
63189e9990
@ -673,7 +673,7 @@ def handle_kill(irc, numeric, command, args):
|
||||
for remotechan in remoteirc.users[realuser[1]].channels:
|
||||
localchan = findRemoteChan(remoteirc, irc, remotechan)
|
||||
if localchan:
|
||||
modes = getPrefixModes(remoteirc, irc, localchan, realuser[1])
|
||||
modes = getPrefixModes(remoteirc, irc, remotechan, realuser[1])
|
||||
log.debug('(%s) relay handle_kill: userpair: %s, %s', irc.name, modes, realuser)
|
||||
client = getRemoteUser(remoteirc, irc, realuser[1])
|
||||
irc.proto.sjoinServer(irc, irc.sid, localchan, [(modes, client)])
|
||||
|
Loading…
Reference in New Issue
Block a user