aboutsummaryrefslogtreecommitdiffstats
path: root/src/cull_list.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-01-31 14:00:34 +0000
committerGravatar Sadie Powell2021-01-31 14:00:34 +0000
commit2b2d37ff506dd02f546585fa345ceb56e8007697 (patch)
tree89a4a0c472dd6855577b6e97f478b0a0806da5b2 /src/cull_list.cpp
parentMove sendmsglist to above the functions in LocalUser. (diff)
Make MyClass private and move everything to GetClass.
Diffstat (limited to 'src/cull_list.cpp')
-rw-r--r--src/cull_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp
index 38c9cb044..7eae8b0bc 100644
--- a/src/cull_list.cpp
+++ b/src/cull_list.cpp
@@ -39,7 +39,7 @@ void CullList::Apply()
{
LocalUser *u = *a;
ServerInstance->SNO.WriteGlobalSno('a', "User %s SendQ exceeds connect class maximum of %lu",
- u->nick.c_str(), u->MyClass->GetSendqHardMax());
+ u->nick.c_str(), u->GetClass()->GetSendqHardMax());
ServerInstance->Users.QuitUser(u, "SendQ exceeded");
}
working.clear();