summaryrefslogtreecommitdiff
path: root/include/event.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-01-23 12:35:14 -0500
committerAdam <Adam@anope.org>2017-01-23 12:35:14 -0500
commit16ca76c2e7ab287e480185fbb03a0bb438351eda (patch)
treedfb25534afa2352b65b2ee707086cb5eecc96fbb /include/event.h
parentff030c1eb7c3764f9add2a689479e84d616cabcb (diff)
Make log system use newer format strings
Also allow log messages to be translatable
Diffstat (limited to 'include/event.h')
-rw-r--r--include/event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/event.h b/include/event.h
index fcc292aea..85e406795 100644
--- a/include/event.h
+++ b/include/event.h
@@ -1074,7 +1074,7 @@ namespace Event
/** Called when a message is logged
* @param l The log message
*/
- virtual void OnLog(::Log *l) anope_abstract;
+ virtual void OnLog(Logger *l) anope_abstract;
};
struct CoreExport LogMessage : Events
@@ -1089,7 +1089,7 @@ namespace Event
* @param l The log message
* @param msg The final formatted message, derived from 'l'
*/
- virtual void OnLogMessage(LogInfo *li, const ::Log *l, const Anope::string &msg) anope_abstract;
+ virtual void OnLogMessage(LogInfo *li, const Logger *l, const Anope::string &msg) anope_abstract;
};
struct CoreExport CheckModes : Events