Fix the previous commit

fix #3231
This commit is contained in:
louiz’
2017-02-13 10:21:25 +01:00
parent 8b2f748b1d
commit 3a288340df
+1 -1
View File
@@ -179,7 +179,7 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
}
catch (const IRCNotConnected& ex)
{
if (type == "unavailable")
if (type != "unavailable")
this->send_stanza_error("presence", from_str, to_str, id,
"cancel", "remote-server-not-found",
"Not connected to IRC server "s + ex.hostname,