summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-11-05 02:37:46 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-11-05 02:37:46 +0100
commitde6335b9944190ec5454ff4052710d05d8b02b43 (patch)
treedbe691bd745fe047f1adc0a49ada3b8273273d9c /src
parenta44372e1b108719504d1e60e0bd3dc91df022f6a (diff)
downloadbiboumi-de6335b9944190ec5454ff4052710d05d8b02b43.tar.gz
biboumi-de6335b9944190ec5454ff4052710d05d8b02b43.tar.bz2
biboumi-de6335b9944190ec5454ff4052710d05d8b02b43.tar.xz
biboumi-de6335b9944190ec5454ff4052710d05d8b02b43.zip
Fix a clang warning
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/biboumi_component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 10dce57..f4de302 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -141,7 +141,7 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
else if (type == "unavailable")
{
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