diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2013-07-08 05:05:13 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2013-07-08 05:05:13 +0200 |
commit | 2ea594d6779cb2456f91c2cbe24e5242286836b5 (patch) | |
tree | 581f532aa692aef2109e5321f8716fe78a30eb00 /include/modules.h | |
parent | e957c7b2d27d8abb89143ee43675a72a3017226e (diff) |
added protocol support for incoming NOTICEs
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index 8948d3389..c725152eb 100644 --- a/include/modules.h +++ b/include/modules.h @@ -973,6 +973,13 @@ class CoreExport Module : public Extensible */ virtual EventReturn OnBotPrivmsg(User *u, BotInfo *bi, Anope::string &message) { throw NotImplementedException(); } + /** Called when we receive a NOTICE for one of our clients + * @param u The user sending the NOTICE + * @param bi The target of the NOTICE + * @param message The message + */ + virtual void OnBotNotice(User *u, BotInfo *bi, Anope::string &message) { throw NotImplementedException(); } + /** Called when we receive a PRIVMSG for a registered channel we are in * @param u The source of the message * @param c The channel |