diff options
| author | 2021-01-31 14:00:34 +0000 | |
|---|---|---|
| committer | 2021-01-31 14:00:34 +0000 | |
| commit | 2b2d37ff506dd02f546585fa345ceb56e8007697 (patch) | |
| tree | 89a4a0c472dd6855577b6e97f478b0a0806da5b2 /src/cull_list.cpp | |
| parent | Move 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.cpp | 2 |
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(); |
