From 2ea594d6779cb2456f91c2cbe24e5242286836b5 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Mon, 8 Jul 2013 05:05:13 +0200 Subject: added protocol support for incoming NOTICEs --- include/modules.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/modules.h') 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 -- cgit