summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/command.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp
index e7912864c..e242b50fb 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -26,6 +26,7 @@ CommandSource::CommandSource(const Anope::string &n, User *user, NickCore *core,
: nick(n)
, u(user)
, nc(core)
+ , ip(user ? user->ip.str() : "")
, reply(r)
, service(bi)
, msgid(m)