Fix a subtle iid parsing error in the adhoc code

This commit is contained in:
louiz’
2017-12-27 19:36:36 +01:00
parent 2d9f516d1d
commit 8409e50c1a
+1 -1
View File
@@ -436,7 +436,7 @@ void BiboumiComponent::handle_iq(const Stanza& stanza)
// Depending on the 'to' jid in the request, we use one adhoc
// command handler or an other
Iid iid(to.local, {});
Iid iid(to.local, {'#', '&'});
AdhocCommandsHandler* adhoc_handler;
if (to.local.empty())
adhoc_handler = &this->adhoc_commands_handler;