diff options
author | Sadie Powell <sadie@witchery.services> | 2024-05-06 17:08:37 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-05-06 17:08:37 +0100 |
commit | 68f4556609569a33c4fcf1bf67402db292d4bdeb (patch) | |
tree | dd51e4d23513891704b41ad6d69c1af0789b1902 /src/command.cpp | |
parent | 23db58a303c6178c24e3e067caceff57d8b7e2bc (diff) |
Store an IP in CommandSource for IRC messages too.
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 1 |
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) |