]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_time.cpp
In the grand tradition of huge fucking commits:
[user/henk/code/inspircd.git] / src / cmd_time.cpp
index cd0f0e1c7bf4706a40a0031a68a7cf2905779b50..ddeb0b19044ec52e7af01d9ce73ebc76507d9536 100644 (file)
  */
 
 #include "inspircd.h"
-#include "configreader.h"
-#include "users.h"
 #include "commands/cmd_time.h"
 
 
 
-extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
 {
        return new cmd_time(Instance);
 }
 
-CmdResult cmd_time::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_time::Handle (const char** parameters, int pcnt, User *user)
 {
        struct tm* timeinfo;
        time_t local = ServerInstance->Time();