Fix a clang warning
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user