2005-12-16 18:10:38 +00:00
|
|
|
/* +------------------------------------+
|
|
|
|
* | Inspire Internet Relay Chat Daemon |
|
|
|
|
* +------------------------------------+
|
|
|
|
*
|
2006-01-15 15:59:11 +00:00
|
|
|
* InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
|
2005-12-16 18:10:38 +00:00
|
|
|
* E-mail:
|
2006-01-15 15:59:11 +00:00
|
|
|
* <brain@chatspike.net>
|
|
|
|
* <Craig@chatspike.net>
|
2005-12-16 18:10:38 +00:00
|
|
|
*
|
|
|
|
* Written by Craig Edwards, Craig McLure, and others.
|
|
|
|
* This program is free but copyrighted software; see
|
|
|
|
* the file COPYING for details.
|
|
|
|
*
|
|
|
|
* ---------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CMD_GLINE_H__
|
|
|
|
#define __CMD_GLINE_H__
|
|
|
|
|
2006-08-30 09:51:50 +00:00
|
|
|
// include the common header file
|
2005-12-16 18:10:38 +00:00
|
|
|
|
|
|
|
#include "users.h"
|
|
|
|
#include "channels.h"
|
|
|
|
|
2006-09-15 14:59:22 +00:00
|
|
|
/** Handle /GLINE
|
|
|
|
*/
|
2005-12-16 18:10:38 +00:00
|
|
|
class cmd_gline : public command_t
|
|
|
|
{
|
|
|
|
public:
|
2006-08-11 00:15:07 +00:00
|
|
|
cmd_gline (InspIRCd* Instance) : command_t(Instance,"GLINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
|
2006-09-06 17:21:59 +00:00
|
|
|
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
|
2005-12-16 18:10:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|