summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-22 20:13:02 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-22 20:13:02 +0200
commit98ef49e78734b1d9cc3b0145ad256b8f14b769b6 (patch)
tree648f122f66a89e75d14e4363963178bf5f35f787 /src
parent0b4f761e314fe9055ed2bc353a699454a194a5d6 (diff)
downloadbiboumi-98ef49e78734b1d9cc3b0145ad256b8f14b769b6.tar.gz
biboumi-98ef49e78734b1d9cc3b0145ad256b8f14b769b6.tar.bz2
biboumi-98ef49e78734b1d9cc3b0145ad256b8f14b769b6.tar.xz
biboumi-98ef49e78734b1d9cc3b0145ad256b8f14b769b6.zip
Fix the kick by correctly using the from and to attributes
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/xmpp_component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index 17afd63..78149c4 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -380,7 +380,7 @@ void XmppComponent::handle_iq(const Stanza& stanza)
}
Bridge* bridge = this->get_user_bridge(from);
- Jid to(from);
+ Jid to(to_str);
std::string error_type("cancel");
std::string error_name("internal-server-error");