diff options
| author | 2021-01-30 14:19:23 +0000 | |
|---|---|---|
| committer | 2021-01-30 14:20:25 +0000 | |
| commit | e8514f7149bbf81bc394a7a12c54d11dda3da290 (patch) | |
| tree | 9ec482e863b51f5148eee3b0545ca8cfcce8a1bc /src/users.cpp | |
| parent | Rename <uline> to <service>. (diff) | |
Replace all internal references to uline with services.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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(); } |
