diff options
Diffstat (limited to 'src/cmd_privmsg.cpp')
-rw-r--r-- | src/cmd_privmsg.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd_privmsg.cpp b/src/cmd_privmsg.cpp index 59a450fef..955bb9af3 100644 --- a/src/cmd_privmsg.cpp +++ b/src/cmd_privmsg.cpp @@ -25,15 +25,12 @@ #include "helperfuncs.h" #include "commands/cmd_privmsg.h" - -extern time_t TIME; - void cmd_privmsg::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; |