aboutsummaryrefslogtreecommitdiffstats
path: root/src/cull.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-07-22 20:44:47 +0100
committerGravatar Sadie Powell2022-07-22 20:44:47 +0100
commitad2aecf19116b1491fa3776e069e1160d4e76927 (patch)
tree02239d304f706c6ea20c1d13c6e041a226230a89 /src/cull.cpp
parentRemove use of the deprecated std::iterator type. (diff)
downloadinspircd++-ad2aecf19116b1491fa3776e069e1160d4e76927.tar.gz
inspircd++-ad2aecf19116b1491fa3776e069e1160d4e76927.tar.bz2
inspircd++-ad2aecf19116b1491fa3776e069e1160d4e76927.zip
Remove some unnecessary getters in ConnectClass.
All of these members are public anyway.
Diffstat (limited to 'src/cull.cpp')
-rw-r--r--src/cull.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cull.cpp b/src/cull.cpp
index c9ed4e474..4810eee84 100644
--- a/src/cull.cpp
+++ b/src/cull.cpp
@@ -72,7 +72,7 @@ void CullList::Apply()
for (const auto& u : working)
{
ServerInstance->SNO.WriteGlobalSno('a', "User %s SendQ exceeds connect class maximum of %lu",
- u->nick.c_str(), u->GetClass()->GetSendqHardMax());
+ u->nick.c_str(), u->GetClass()->hardsendqmax);
ServerInstance->Users.QuitUser(u, "SendQ exceeded");
}
working.clear();