summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-03-16 20:22:59 -0400
committerAdam <Adam@anope.org>2017-03-16 20:23:57 -0400
commitb831cd8a36bd42fae90e1c0fd408aacf62657ea0 (patch)
tree7efa96539f5f3013e12fb518f9fb1e5752de471d /include
parent516ab164f6fcfe641cbf296d1244ac957fb16fd1 (diff)
Include ip for web clients in command log messages for source
Diffstat (limited to 'include')
-rw-r--r--include/commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/commands.h b/include/commands.h
index b078b3a7d..2d8fc19f5 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -59,6 +59,8 @@ class CoreExport CommandSource
public:
/* The account executing the command */
Reference<NickCore> nc;
+ /* for web clients */
+ Anope::string ip;
/* Where the reply should go */
CommandReply *reply;
/* Channel the command was executed on (fantasy) */