summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-29 23:10:38 +0200
committerlouiz’ <louiz@louiz.org>2017-03-29 16:28:25 +0200
commite8ccfe97be6f7042b0960f40ce29a89801b9982e (patch)
tree94a69cb6617a16701dbd50243466c0744390c545
parenta3844c1d9ff0e714d07f1a411f3babc31de96e5e (diff)
downloadbiboumi-e8ccfe97be6f7042b0960f40ce29a89801b9982e.tar.gz
biboumi-e8ccfe97be6f7042b0960f40ce29a89801b9982e.tar.bz2
biboumi-e8ccfe97be6f7042b0960f40ce29a89801b9982e.tar.xz
biboumi-e8ccfe97be6f7042b0960f40ce29a89801b9982e.zip
Add a missing “pass by reference”
-rw-r--r--src/xmpp/biboumi_component.cpp2
-rw-r--r--src/xmpp/biboumi_component.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 1c0f65c..41eb4b8 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -737,7 +737,7 @@ void BiboumiComponent::send_irc_server_disco_info(const std::string& id, const s
this->send_stanza(iq);
}
-void BiboumiComponent::send_irc_channel_muc_traffic_info(const std::string id, const std::string& jid_to, const std::string& jid_from)
+void BiboumiComponent::send_irc_channel_muc_traffic_info(const std::string& id, const std::string& jid_to, const std::string& jid_from)
{
Stanza iq("iq");
{
diff --git a/src/xmpp/biboumi_component.hpp b/src/xmpp/biboumi_component.hpp
index 1d25e0e..25ec2dd 100644
--- a/src/xmpp/biboumi_component.hpp
+++ b/src/xmpp/biboumi_component.hpp
@@ -69,7 +69,7 @@ public:
* Sends the allowed namespaces in MUC message, according to
* http://xmpp.org/extensions/xep-0045.html#impl-service-traffic
*/
- void send_irc_channel_muc_traffic_info(const std::string id, const std::string& jid_to, const std::string& jid_from);
+ void send_irc_channel_muc_traffic_info(const std::string& id, const std::string& jid_to, const std::string& jid_from);
/**
* Send a ping request
*/