summaryrefslogtreecommitdiff
path: root/include/logger.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-06-18 05:04:30 -0400
committerAdam <Adam@anope.org>2012-06-18 05:04:30 -0400
commit2dec8e767a70def4b9b04a96ae4f75e4d1013038 (patch)
tree36f5b551ff359a578e17d5e7d2f486970d759a7b /include/logger.h
parent873d4287de57f7f9caa23cb2c9265d1ad2804aba (diff)
Allow userless command sources
Diffstat (limited to 'include/logger.h')
-rw-r--r--include/logger.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/logger.h b/include/logger.h
index 8cb54a754..9364cfb7c 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -50,6 +50,7 @@ class CoreExport Log
public:
const BotInfo *bi;
const User *u;
+ const NickCore *nc;
Command *c;
Channel *chan;
const ChannelInfo *ci;
@@ -63,7 +64,7 @@ class CoreExport Log
Log(LogType type = LOG_NORMAL, const Anope::string &category = "", const BotInfo *bi = NULL);
/* LOG_COMMAND/OVERRIDE/ADMIN */
- Log(LogType type, const User *u, Command *c, const ChannelInfo *ci = NULL);
+ Log(LogType type, const CommandSource &source, Command *c, const ChannelInfo *ci = NULL);
/* LOG_CHANNEL */
Log(const User *u, Channel *c, const Anope::string &category = "");