3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +01:00

Merge branch 'master' into devel

This commit is contained in:
James Lu 2015-09-17 19:31:30 -07:00
commit 4ad94ca4ea

View File

@ -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)])