Add an AdhocCommandsHandler to store commands specific to IRC servers

This commit is contained in:
Florent Le Coz
2015-09-18 22:09:26 +02:00
parent 19666d2ffd
commit 45e8fe56a6
4 changed files with 40 additions and 13 deletions
+2 -2
View File
@@ -184,8 +184,8 @@ public:
* Send the list of all available ad-hoc commands to that JID. The list is
* different depending on what JID made the request.
*/
void send_adhoc_commands_list(const std::string& id, const std::string& requester_jid,
const bool with_admin_only);
void send_adhoc_commands_list(const std::string& id, const std::string& requester_jid, const std::string& from_jid,
const bool with_admin_only, const AdhocCommandsHandler& adhoc_handler);
/**
* Send an iq version request
*/