]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_version.h
Annotations
[user/henk/code/inspircd.git] / include / commands / cmd_version.h
index 0fcd79543255711de836bcc2835359f6e31ad098..115d87901230a00cea671dfecaa7f187f38010fa 100644 (file)
 
 // include the common header files
 
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
 #include "users.h"
 #include "channels.h"
 
+/** Handle /VERSION
+ */
 class cmd_version : public command_t
 {
  public:
-        cmd_version () : command_t("VERSION",0,0) { }
-        void Handle(char **parameters, int pcnt, userrec *user);
+        cmd_version (InspIRCd* Instance) : command_t(Instance,"VERSION",0,0) { syntax = "[<servername>]"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif