]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_ping.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / commands / cmd_ping.h
index c131af628e9b00b851d5d5470848eedda2a0018e..eaf0fe4dc36a51c25a24fde5af15609c728a6c08 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 /PING
+ */
 class cmd_ping : public command_t
 {
  public:
-        cmd_ping () : command_t("PING",0,1) { syntax = "<servername> [:<servername>]"; }
-        void Handle(const char** parameters, int pcnt, userrec *user);
+        cmd_ping (InspIRCd* Instance) : command_t(Instance,"PING",0,1) { syntax = "<servername> [:<servername>]"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif