diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 09:23:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-11 09:23:46 +0000 |
commit | 76ebc88ccd6fef0bf2d97b607829fb3466e273af (patch) | |
tree | 6b02e7979ce1c4bf75cfc6e59d9de534ccf22827 /src/command_parse.cpp | |
parent | 488932d457b16a778d75cf2a8213dd9a94058403 (diff) |
extern time_t TIME -> InspIRCd::Time()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r-- | src/command_parse.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index aaafe3e30..3c8af85c8 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -48,8 +48,6 @@ #define nspace __gnu_cxx -extern time_t TIME; - /* Special commands which may occur without registration of the user */ cmd_user* command_user; cmd_nick* command_nick; @@ -202,7 +200,7 @@ void CommandParser::ProcessCommand(userrec *user, std::string &cmd) if (user) { /* activity resets the ping pending timer */ - user->nping = TIME + user->pingmax; + user->nping = ServerInstance->Time() + user->pingmax; if (cm->second->flags_needed) { if (!user->IsModeSet(cm->second->flags_needed)) |