Commit 2c932cf0 authored by louiz’'s avatar louiz’

Fix the double sending of the USER command

parent 6c422861
......@@ -131,9 +131,11 @@ void IrcClient::on_connected()
this->realname = options.realname.value();
this->send_user_command(username, realname);
}
#endif
else
this->send_user_command(this->username, this->realname);
#else
this->send_user_command(this->username, this->realname);
#endif
this->send_gateway_message("Connected to IRC server"s + (this->use_tls ? " (encrypted)": "") + ".");
this->send_pending_data();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment