]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - server/rcon2irc/rcon2irc.pl
get a nick before pinging, servers don't seem to like it otherwise and return 451...
[xonotic/xonotic.git] / 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}";