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