Fix a few issues reported by static analyzers

This commit is contained in:
Florent Le Coz
2014-12-17 13:37:57 +01:00
parent 0ab5ecea13
commit 720e31a511
14 changed files with 11 additions and 28 deletions
+1 -1
View File
@@ -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);
}