From: MrBougo Date: Tue, 7 Sep 2010 14:46:44 +0000 (+0200) Subject: get a nick before pinging, servers don't seem to like it otherwise and return 451... X-Git-Tag: xonotic-v0.1.0preview~233^2~1 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=ee5be7230f3f0bb1d7af75d1a472495e5a3f0196 get a nick before pinging, servers don't seem to like it otherwise and return 451 (ERR_NOTREGISTERED) instead of a PONG --- diff --git a/server/rcon2irc/rcon2irc.pl b/server/rcon2irc/rcon2irc.pl index c1c2a4ef..a29a0a15 100755 --- a/server/rcon2irc/rcon2irc.pl +++ b/server/rcon2irc/rcon2irc.pl @@ -1727,7 +1727,7 @@ schedule sub { my ($timer) = @_; # log on to IRC when needed - if(exists $store{dp_hostname} && !exists $store{irc_logged_in}) + if(exists $store{dp_hostname} && !exists $store{irc_seen_welcome}) { $store{irc_nick_requested} = $config{irc_nick}; out irc => 1, "NICK $config{irc_nick}", "USER $config{irc_user} localhost localhost :$store{dp_hostname}";