mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-15 19:35:24 +00:00
get a nick before pinging, servers don't seem to like it otherwise and return 451 (ERR_NOTREGISTERED) instead of a PONG
This commit is contained in:
parent
e4dbbe2f30
commit
ee5be7230f
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user