1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 07:53:12 +02:00

Added chanserv/log

This commit is contained in:
Adam
2011-09-03 01:10:12 -04:00
parent 19e0b87aa1
commit 1478b5bbd7
18 changed files with 340 additions and 83 deletions
+6 -1
View File
@@ -1019,6 +1019,11 @@ class CoreExport Module : public Extensible
* @param msg The message
*/
virtual void OnPrivmsg(User *u, Channel *c, Anope::string &msg) { }
/** Called when a message is logged
* @param l The log message
*/
virtual void OnLog(Log *l) { }
};
/** Implementation-specific flags which may be set in ModuleManager::Attach()
@@ -1072,7 +1077,7 @@ enum Implementation
I_OnServerQuit, I_OnTopicUpdated,
I_OnEncrypt, I_OnDecrypt,
I_OnChannelModeSet, I_OnChannelModeUnset, I_OnUserModeSet, I_OnUserModeUnset, I_OnChannelModeAdd, I_OnUserModeAdd,
I_OnMLock, I_OnUnMLock, I_OnServerSync, I_OnUplinkSync, I_OnBotPrivmsg, I_OnPrivmsg,
I_OnMLock, I_OnUnMLock, I_OnServerSync, I_OnUplinkSync, I_OnBotPrivmsg, I_OnPrivmsg, I_OnLog,
I_END
};