summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-11-07 21:57:39 +0100
committerlouiz’ <louiz@louiz.org>2016-11-07 21:57:39 +0100
commitb5beb043325ca5625f4eb53cb9451daf499c586b (patch)
tree1d9c4dbc43f6eed5b02df52ea502121e31bf01f2 /src/xmpp
parentf36bccd7bbd685cc34370da4ab4b7d124bcc69a0 (diff)
downloadbiboumi-b5beb043325ca5625f4eb53cb9451daf499c586b.tar.gz
biboumi-b5beb043325ca5625f4eb53cb9451daf499c586b.tar.bz2
biboumi-b5beb043325ca5625f4eb53cb9451daf499c586b.tar.xz
biboumi-b5beb043325ca5625f4eb53cb9451daf499c586b.zip
Remove a never reached (and non-sensical) error
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_component.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 010b415..d6782e2 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -269,8 +269,6 @@ void BiboumiComponent::handle_message(const Stanza& stanza)
}
}
- else if (iid.type == Iid::Type::User)
- this->send_invalid_user_error(to.local, from_str);
} catch (const IRCNotConnected& ex)
{
this->send_stanza_error("message", from_str, to_str, id,