Commit 6770629b authored by louiz’'s avatar louiz’

Fix a clang-check warning

I think it was a UB
parent 85867976
......@@ -543,7 +543,7 @@ void BiboumiComponent::send_self_disco_info(const std::string& id, const std::st
identity["type"] = "irc";
identity["name"] = "Biboumi XMPP-IRC gateway";
for (const std::string& ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS})
for (const char* ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS})
XmlNode feature("feature");
feature["var"] = ns;
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