1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 23:13:13 +02:00

Add command handlers for encap commands on InspIRCd.

This commit is contained in:
Sadie Powell
2024-03-12 21:57:06 +00:00
parent 22ba54b00d
commit 11edba04fe
3 changed files with 125 additions and 55 deletions
+11 -3
View File
@@ -535,10 +535,18 @@ namespace Anope
*/
extern CoreExport Anope::string NormalizeBuffer(const Anope::string &);
/** Main processing routine. Parses the message and takes the appropriate action.
* @param Raw message from the uplink
/** Parses a raw message from the uplink and calls its command handler.
* @param message Raw message from the uplink
*/
extern void Process(const Anope::string &);
extern void Process(const Anope::string &message);
/** Calls the command handler for an already parsed message.
* @param source Source of the message.
* @param command Command name.
* @param params Any extra parameters.
* @param tags IRCv3 message tags.
*/
extern CoreExport void ProcessInternal(MessageSource &src, const Anope::string &command, const std::vector<Anope::string> &params, const Anope::map<Anope::string> & tags);
/** Does a blocking dns query and returns the first IP.
* @param host host to look up