diff options
| author | 2019-02-15 10:56:08 +0000 | |
|---|---|---|
| committer | 2019-02-15 11:35:25 +0000 | |
| commit | 168ee804903e5ee10edc04e870e36a1256885e34 (patch) | |
| tree | b50842f0c177515f4fa4e1ff0682a8bb652c0642 /src/users.cpp | |
| parent | Refactor UserManager::DoBackgroundUserStuff(). (diff) | |
| download | inspircd++-168ee804903e5ee10edc04e870e36a1256885e34.tar.gz inspircd++-168ee804903e5ee10edc04e870e36a1256885e34.tar.bz2 inspircd++-168ee804903e5ee10edc04e870e36a1256885e34.zip | |
Rename User::nping to nextping for consistency with lastping.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 582abe17e..4050337c7 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -97,7 +97,7 @@ LocalUser::LocalUser(int myfd, irc::sockets::sockaddrs* client, irc::sockets::so , quitting_sendq(false) , lastping(true) , exempt(false) - , nping(0) + , nextping(0) , idle_lastmsg(0) , CommandFloodPenalty(0) , already_sent(0) @@ -503,7 +503,7 @@ void LocalUser::CheckClass(bool clone_count) } } - this->nping = ServerInstance->Time() + a->GetPingTime(); + this->nextping = ServerInstance->Time() + a->GetPingTime(); } bool LocalUser::CheckLines(bool doZline) |
