]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_time.cpp
Move InspIRCd::IsValidMask() to helperfuncs.cpp
[user/henk/code/inspircd.git] / src / cmd_time.cpp
index c034d471580fdc10be1432b7443693c8df496e4a..97f4eb5ae5201028518ed3e3561526d66552c047 100644 (file)
@@ -2,30 +2,26 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *                <Craig@chatspike.net>
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
  *
- * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
  * ---------------------------------------------------
  */
 
-#include "configreader.h"
-#include "users.h"
+#include "inspircd.h"
 #include "commands/cmd_time.h"
 
 
 
-extern "C" command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
 {
-       return new cmd_time(Instance);
+       return new CommandTime(Instance);
 }
 
-CmdResult cmd_time::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult CommandTime::Handle (const char** parameters, int pcnt, User *user)
 {
        struct tm* timeinfo;
        time_t local = ServerInstance->Time();