diff options
author | Sadie Powell <sadie@witchery.services> | 2025-03-15 21:08:49 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-03-15 21:08:49 +0000 |
commit | 30593321f46145185e02a2c6a19a839a47626ee7 (patch) | |
tree | 79fa6f694ea9a255347a1c2e5d4a71cc89941ebc | |
parent | 3b35199a538d498250c863ca2bfffea51f9289ad (diff) |
Fix getting the IP of a user in CommandSource.
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp index 080e6471d..6df28aa9f 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -26,7 +26,7 @@ CommandSource::CommandSource(const Anope::string &n, User *user, NickCore *core, : nick(n) , u(user) , nc(core) - , ip(user ? user->ip.str() : "") + , ip(user ? user->ip.addr() : "") , reply(r) , service(bi) , msgid(m) |