summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-02-13 10:21:25 +0100
committerlouiz’ <louiz@louiz.org>2017-02-13 10:21:25 +0100
commit3a288340df860f6aeaf0f9a59734c1d39d091495 (patch)
tree5e101eb20ba19821f67ceda3bc62a404b9447fa2 /src
parent8b2f748b1d8de6513ca69e643b50477b0e5a2130 (diff)
downloadbiboumi-3a288340df860f6aeaf0f9a59734c1d39d091495.tar.gz
biboumi-3a288340df860f6aeaf0f9a59734c1d39d091495.tar.bz2
biboumi-3a288340df860f6aeaf0f9a59734c1d39d091495.tar.xz
biboumi-3a288340df860f6aeaf0f9a59734c1d39d091495.zip
Fix the previous commit
fix #3231
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/biboumi_component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 52bf2b7..663e92e 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -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,