]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_gline.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / commands / cmd_gline.h
index 79552a27433e5d9b999b959f136773e4be711c8f..b39a0515c500722c13a7a99b664609569689884c 100644 (file)
 #ifndef __CMD_GLINE_H__
 #define __CMD_GLINE_H__
 
-// include the common header files
+// include the common header file
 
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
 #include "users.h"
 #include "channels.h"
 
+/** Handle /GLINE
+ */
 class cmd_gline : public command_t
 {
  public:
-        cmd_gline () : command_t("GLINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
-        void Handle(const char** parameters, int pcnt, userrec *user);
+        cmd_gline (InspIRCd* Instance) : command_t(Instance,"GLINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif