summaryrefslogtreecommitdiff
path: root/include/logger.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-07 23:13:29 -0400
committerAdam <Adam@anope.org>2013-07-07 23:13:29 -0400
commit0ff48e1538d8cc694e045775531ee075a319cb8a (patch)
tree83b9ea2ecc607f8a8b6e8485f676d0f14f7bc61b /include/logger.h
parent53038d83bf4afe0cc21e465f6a8525b88c1d2886 (diff)
Move op/deop/etc back to an actual command, its too hard to use cs_log with it as rewrites. Allow cs_log to work with either command names or service names.
Diffstat (limited to 'include/logger.h')
-rw-r--r--include/logger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/logger.h b/include/logger.h
index b97839732..b24d7bbd6 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -55,14 +55,14 @@ class CoreExport Log
public:
/* Bot that should log this message */
const BotInfo *bi;
- /* For commands, the user executing the command */
- Anope::string nick;
/* For commands, the user executing the command, but might not always exist */
const User *u;
/* For commands, the account executing teh command, but will not always exist */
const NickCore *nc;
/* For commands, the command being executed */
Command *c;
+ /* For commands, the command source */
+ CommandSource *source;
/* Used for LOG_CHANNEL */
Channel *chan;
/* For commands, the channel the command was executed on, will not always exist */