diff --git a/plugins/relay.py b/plugins/relay.py index 8ae9fc7..f63b0cc 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -873,7 +873,7 @@ def handle_kill(irc, numeric, command, args): for remotechan in remoteirc.users[realuser[1]].channels: localchan = getRemoteChan(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(getRemoteSid(irc, remoteirc), localchan, [(modes, client)])