summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-29 23:32:43 +0200
committerlouiz’ <louiz@louiz.org>2017-03-29 23:32:43 +0200
commit1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd (patch)
tree8da20afbb4520f71bbdd9ed6fc2ff301bb7be992 /src/xmpp/xmpp_component.cpp
parent52b795d11976802cfec12d886fca508047ffed89 (diff)
downloadbiboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.gz
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.bz2
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.xz
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.zip
Remove two sneaky log_debug
Diffstat (limited to 'src/xmpp/xmpp_component.cpp')
-rw-r--r--src/xmpp/xmpp_component.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index 1453b18..6829cef 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -39,14 +39,14 @@ static std::set<std::string> kickable_errors{
"malformed-error"
};
-XmppComponent::XmppComponent(std::shared_ptr<Poller>& poller, const std::string& hostname, const std::string& secret):
+XmppComponent::XmppComponent(std::shared_ptr<Poller>& poller, std::string hostname, std::string secret):
TCPClientSocketHandler(poller),
ever_auth(false),
first_connection_try(true),
- secret(secret),
+ secret(std::move(secret)),
authenticated(false),
doc_open(false),
- served_hostname(hostname),
+ served_hostname(std::move(hostname)),
stanza_handlers{},
adhoc_commands_handler(*this)
{
@@ -429,7 +429,7 @@ void XmppComponent::send_history_message(const std::string& muc_name, const std:
this->send_stanza(message);
}
-void XmppComponent::send_muc_leave(const std::string& muc_name, std::string&& nick, Xmpp::body&& message, const std::string& jid_to, const bool self)
+void XmppComponent::send_muc_leave(const std::string& muc_name, const std::string& nick, Xmpp::body&& message, const std::string& jid_to, const bool self)
{
Stanza presence("presence");
{