Do not send data if we are connected, send it only once we actually are

This commit is contained in:
Florent Le Coz
2014-03-24 18:37:31 +01:00
parent 3b1bf740a3
commit e196d2f1f4
4 changed files with 17 additions and 1 deletions
+1
View File
@@ -45,6 +45,7 @@ void IrcClient::on_connected()
this->send_nick_command(this->username);
this->send_user_command(this->username, this->username);
this->send_gateway_message("Connected to IRC server.");
this->send_pending_data();
}
void IrcClient::on_connection_close()