From ad2aecf19116b1491fa3776e069e1160d4e76927 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 22 Jul 2022 20:44:47 +0100 Subject: Remove some unnecessary getters in ConnectClass. All of these members are public anyway. --- 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 afd071883..8a04ea72f 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->GetClass()->GetPingTime(); + user->nextping = ServerInstance->Time() + user->GetClass()->pingtime; switch (handler->access_needed) { case CmdAccess::NORMAL: -- cgit v1.3.1-10-gc9f91