summaryrefslogtreecommitdiff
path: root/include/bots.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bots.h')
-rw-r--r--include/bots.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bots.h b/include/bots.h
index 6d0320a1c..55dde5bbe 100644
--- a/include/bots.h
+++ b/include/bots.h
@@ -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 */