Commit de6335b9 authored by louiz’'s avatar louiz’

Fix a clang warning

parent a44372e1
...@@ -141,7 +141,7 @@ void BiboumiComponent::handle_presence(const Stanza& stanza) ...@@ -141,7 +141,7 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
else if (type == "unavailable") else if (type == "unavailable")
{ {
const XmlNode* status = stanza.get_child("status", COMPONENT_NS); const XmlNode* status = stanza.get_child("status", COMPONENT_NS);
bridge->leave_irc_channel(std::move(iid), status ? std::move(status->get_inner()) : ""); bridge->leave_irc_channel(std::move(iid), status ? status->get_inner() : "");
} }
} }
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment