1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 15:36:38 +02:00

Fix getting the IP of a user in CommandSource.

This commit is contained in:
Sadie Powell
2025-03-15 21:08:49 +00:00
parent 3b35199a53
commit 30593321f4
+1 -1
View File
@@ -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)