summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.cpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-12-17 13:37:57 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-12-17 13:37:57 +0100
commit720e31a5113c25e48d7754bb812ab84c6c31d1d9 (patch)
tree5a697d40c8df6c71d37168e401a058b94f0b20cf /src/bridge/bridge.cpp
parent0ab5ecea133cef5a009bc34ba42c4eaacde6a7dd (diff)
downloadbiboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.gz
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.bz2
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.xz
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.zip
Fix a few issues reported by static analyzers
Diffstat (limited to 'src/bridge/bridge.cpp')
-rw-r--r--src/bridge/bridge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index a7d8fe6..c925f9e 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -480,7 +480,7 @@ void Bridge::send_user_join(const std::string& hostname,
affiliation, role, this->user_jid, self);
}
-void Bridge::send_topic(const std::string& hostname, const std::string& chan_name, const std::string topic)
+void Bridge::send_topic(const std::string& hostname, const std::string& chan_name, const std::string& topic)
{
this->xmpp->send_topic(chan_name + "%" + hostname, this->make_xmpp_body(topic), this->user_jid);
}