// include the common header files
-#include <typeinfo>
-#include <iostream>
#include <string>
-#include <deque>
-#include <sstream>
#include <vector>
+#include "inspircd.h"
#include "users.h"
#include "channels.h"
+/** Handle /SQUIT
+ */
class cmd_squit : public command_t
{
public:
- cmd_squit () : command_t("SQUIT",'o',1) { syntax = "<servername> [<reason>]"; }
- void Handle(const char** parameters, int pcnt, userrec *user);
+ cmd_squit (InspIRCd* Instance) : command_t(Instance,"SQUIT",'o',1) { syntax = "<servername> [<reason>]"; }
+ CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
#endif