diff options
| author | 2022-07-22 20:44:47 +0100 | |
|---|---|---|
| committer | 2022-07-22 20:44:47 +0100 | |
| commit | ad2aecf19116b1491fa3776e069e1160d4e76927 (patch) | |
| tree | 02239d304f706c6ea20c1d13c6e041a226230a89 /src/command_parse.cpp | |
| parent | Remove use of the deprecated std::iterator type. (diff) | |
Remove some unnecessary getters in ConnectClass.
All of these members are public anyway.
Diffstat (limited to 'src/command_parse.cpp')
| -rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
