]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
get a nick before pinging, servers don't seem to like it otherwise and return 451...
authorMrBougo <mrbougo@xonotic.org>
Tue, 7 Sep 2010 14:46:44 +0000 (16:46 +0200)
committerMrBougo <mrbougo@xonotic.org>
Tue, 7 Sep 2010 14:46:44 +0000 (16:46 +0200)
server/rcon2irc/rcon2irc.pl

index c1c2a4efb5c16d649fe972f0e29f87c80ae53b0f..a29a0a1571f9d80245ae571b1e1e95926777b51e 100755 (executable)
@@ -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}";