3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

plugin relay: Rename homeirc to origirc

Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
Celelibi 2020-06-19 05:37:21 +02:00 committed by James Lu
parent 43532fd1cc
commit 16a7cef1aa

View File

@ -2061,7 +2061,7 @@ def handle_kill(irc, numeric, command, args):
# Then, forward to the home network. # Then, forward to the home network.
hsender = get_relay_server_sid(origirc, irc, spawn_if_missing=False) or \ hsender = get_relay_server_sid(origirc, irc, spawn_if_missing=False) or \
homeirc.sid origirc.sid
log.debug('(%s) relay.handle_kill: forwarding kill to %s/%s@%s as ' log.debug('(%s) relay.handle_kill: forwarding kill to %s/%s@%s as '
'kick on %s', irc.name, realuser[1], target_nick, 'kick on %s', irc.name, realuser[1], target_nick,
realuser[0], homechan) realuser[0], homechan)