Commit 3a288340 authored by louiz’'s avatar louiz’

Fix the previous commit

fix #3231
parent 8b2f748b
......@@ -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,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment