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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user