Fix the initial IRC nickname (was using realname, by mistake)

This commit is contained in:
Florent Le Coz
2015-11-02 17:14:21 +01:00
parent f928f76272
commit 0a4041f7e9
+1 -1
View File
@@ -155,7 +155,7 @@ void IrcClient::on_connected()
this->send_pass_command(options.pass.value()); this->send_pass_command(options.pass.value());
#endif #endif
this->send_nick_command(this->username); this->send_nick_command(this->current_nick);
#ifdef USE_DATABASE #ifdef USE_DATABASE
if (Config::get("realname_customization", "true") == "true") if (Config::get("realname_customization", "true") == "true")