From: Rudolf Polzer Date: Fri, 17 Sep 2010 10:51:14 +0000 (+0200) Subject: honor irc_local when reconnecting too X-Git-Tag: xonotic-v0.1.0preview~205 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=06ec0374a4d3b8e29a44044749290dcf02dea204;p=xonotic%2Fxonotic.git honor irc_local when reconnecting too --- diff --git a/server/rcon2irc/rcon2irc.pl b/server/rcon2irc/rcon2irc.pl index 88a98ccc..42909cc8 100755 --- a/server/rcon2irc/rcon2irc.pl +++ b/server/rcon2irc/rcon2irc.pl @@ -862,7 +862,7 @@ sub irc_error() return; # this will keep irc_error_active } - $channels{irc} = new Channel::Line(new Connection::Socket(tcp => "" => $config{irc_server} => 6667)); + $channels{irc} = new Channel::Line(new Connection::Socket(tcp => $config{irc_local} => $config{irc_server} => 6667)); delete $store{$_} for grep { /^irc_/ } keys %store; $store{irc_nick} = ""; schedule sub {