// 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