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/cmd_notice.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/cmd_notice.cpp')
-rw-r--r-- | src/cmd_notice.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp index 0a80bf57f..6882c8d35 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -28,15 +28,12 @@ #include "hashcomp.h" #include "commands/cmd_notice.h" - -extern time_t TIME; - void cmd_notice::Handle (const char** parameters, int pcnt, userrec *user) { userrec *dest; chanrec *chan; - user->idle_lastmsg = TIME; + user->idle_lastmsg = ServerInstance->Time(); if (ServerInstance->Parser->LoopCall(user, this, parameters, pcnt, 0)) return; |