From 2b2d37ff506dd02f546585fa345ceb56e8007697 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 31 Jan 2021 14:00:34 +0000 Subject: Make MyClass private and move everything to GetClass. --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') 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: -- cgit v1.3.1-10-gc9f91