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