mirror of
https://github.com/anope/anope.git
synced 2026-07-04 01:23:12 +02:00
Make CTCP support more modular.
This commit is contained in:
@@ -41,6 +41,8 @@ public:
|
||||
time_t lastmsg;
|
||||
/* Map of actual command names -> service name/permission required */
|
||||
CommandInfo::map commands;
|
||||
/** CTCP responses this bot can send. */
|
||||
Anope::map<std::function<void(BotInfo *, User *, const Anope::string &)>> ctcps;
|
||||
/* The server-side alias used to message this bot. */
|
||||
Anope::string alias;
|
||||
/* Modes the bot should have as configured in service:modes */
|
||||
|
||||
Reference in New Issue
Block a user