aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-04-04 14:26:31 +0100
committerGravatar Sadie Powell2026-04-04 14:26:31 +0100
commit5269e1e4c4a44196839d57fa4e9833536672473a (patch)
tree2c7f0a560fcd4f37ef2e7f465ffa1cb651e31960 /src/users.cpp
parentRemove the remaining bits of stdalgo to utility/container. (diff)
Add an easier way to get the local Server* object.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 47a0b82e0..04149707d 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -169,7 +169,7 @@ const std::string& User::GetRealMask()
}
LocalUser::LocalUser(LocalUserIO* lio, const irc::sockets::sockaddrs& clientsa, const irc::sockets::sockaddrs& serversa)
- : User(ServerInstance->UIDGen.GetUID(), ServerInstance->FakeClient->server, User::TYPE_LOCAL)
+ : User(ServerInstance->UIDGen.GetUID(), ServerInstance->LocalServer, User::TYPE_LOCAL)
, io(lio)
, server_sa(serversa)
, quitting_sendq(false)