diff options
Diffstat (limited to 'include/commands/cmd_oper.h')
-rw-r--r-- | include/commands/cmd_oper.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h new file mode 100644 index 000000000..e71ca07a6 --- /dev/null +++ b/include/commands/cmd_oper.h @@ -0,0 +1,40 @@ +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev. + * E-mail: + * <brain@chatspike.net> + * <Craig@chatspike.net> + * + * Written by Craig Edwards, Craig McLure, and others. + * This program is free but copyrighted software; see + * the file COPYING for details. + * + * --------------------------------------------------- + */ + +#ifndef __CMD_OPER_H__ +#define __CMD_OPER_H__ + +// include the common header files + +#include <typeinfo> +#include <iostream> +#include <string> +#include <deque> +#include <sstream> +#include <vector> +#include "users.h" +#include "channels.h" + +bool OneOfMatches(const char* host, const char* hostlist); + +class cmd_oper : public command_t +{ + public: + cmd_oper () : command_t("OPER",0,2) { } + void Handle(char **parameters, int pcnt, userrec *user); +}; + +#endif |