From e8514f7149bbf81bc394a7a12c54d11dda3da290 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Jan 2021 14:19:23 +0000 Subject: Replace all internal references to uline with services. --- src/users.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 0e049dbef..2cf72d8e2 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -88,8 +88,8 @@ User::User(const std::string& uid, Server* srv, Type type) ServerInstance->Logs.Log("USERS", LOG_DEBUG, "New UUID for user: %s", uuid.c_str()); - if (srv->IsULine()) - ServerInstance->Users.all_ulines.push_back(this); + if (srv->IsService()) + ServerInstance->Users.all_services.push_back(this); // Do not insert FakeUsers into the uuidlist so FindUUID() won't return them which is the desired behavior if (type != User::TYPE_SERVER) @@ -356,8 +356,8 @@ CullResult User::cull() if (client_sa.family() != AF_UNSPEC) ServerInstance->Users.RemoveCloneCounts(this); - if (server->IsULine()) - stdalgo::erase(ServerInstance->Users.all_ulines, this); + if (server->IsService()) + stdalgo::erase(ServerInstance->Users.all_services, this); return Extensible::cull(); } -- cgit v1.3.1-10-gc9f91