aboutsummaryrefslogtreecommitdiff
path: root/src/command_parse.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/command_parse.cpp
parentMove sendmsglist to above the functions in LocalUser. (diff)
Make MyClass private and move everything to GetClass.
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index c195e3880..1fd11dc7c 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -261,7 +261,7 @@ void CommandParser::ProcessCommand(LocalUser* user, std::string& command, Comman
}
/* activity resets the ping pending timer */
- user->nextping = ServerInstance->Time() + user->MyClass->GetPingTime();
+ user->nextping = ServerInstance->Time() + user->GetClass()->GetPingTime();
switch (handler->access_needed)
{
case CmdAccess::NORMAL: