~singpolyma/biboumi

2c932cf0f7ca9bc82430c1da5097653f6a4d0bf4 — Florent Le Coz 8 years ago 6c42286
Fix the double sending of the USER command
1 files changed, 4 insertions(+), 2 deletions(-)

M src/irc/irc_client.cpp
M src/irc/irc_client.cpp => src/irc/irc_client.cpp +4 -2
@@ 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();
}