summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_component.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-18 17:21:15 +0100
committerlouiz’ <louiz@louiz.org>2016-12-18 17:21:15 +0100
commite397fc837e00cff58081810c8b54cb741299d993 (patch)
treef9972ef543437187d35bc872e3e076b3782f717b /src/xmpp/biboumi_component.cpp
parent36a9eb0e000612e159b1550828bbcd446cd8b11b (diff)
downloadbiboumi-e397fc837e00cff58081810c8b54cb741299d993.tar.gz
biboumi-e397fc837e00cff58081810c8b54cb741299d993.tar.bz2
biboumi-e397fc837e00cff58081810c8b54cb741299d993.tar.xz
biboumi-e397fc837e00cff58081810c8b54cb741299d993.zip
Send iq error/result when the user changed a MODE command with an iq
And add tests for all the mode changes
Diffstat (limited to 'src/xmpp/biboumi_component.cpp')
-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 985b252..6971538 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -352,7 +352,7 @@ void BiboumiComponent::handle_iq(const Stanza& stanza)
bridge->send_irc_kick(iid, nick, reason, id, from);
}
else
- bridge->forward_affiliation_role_change(iid, nick, affiliation, role);
+ bridge->forward_affiliation_role_change(iid, from, nick, affiliation, role, id);
stanza_error.disable();
}
}