Send unavailable presence to all muc when the IRC server closes the connection
This commit is contained in:
@@ -100,6 +100,7 @@ void SocketHandler::on_send()
|
||||
if (res == -1)
|
||||
{
|
||||
log_error("send failed: " << strerror(errno));
|
||||
this->on_connection_close();
|
||||
this->close();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user