]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Rename User::nping to nextping for consistency with lastping.
[user/henk/code/inspircd.git] / src / users.cpp
index 582abe17ed8739724d4b6c11410d11a80dd3f0a6..4050337c7a2e7ed6ab9b02564136d508ff044c14 100644 (file)
@@ -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)