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.
|
2006-07-09 20:41:36 +00:00
|
|
|
* E-mail:
|
|
|
|
* <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
|
2006-07-09 20:41:36 +00:00
|
|
|
* the file COPYING for details.
|
2005-12-16 18:10:38 +00:00
|
|
|
*
|
|
|
|
* ---------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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"
|
|
|
|
|
2006-02-05 09:55:13 +00:00
|
|
|
bool OneOfMatches(const char* host, const char* hostlist);
|
2006-02-04 17:09:24 +00:00
|
|
|
|
2005-12-16 18:10:38 +00:00
|
|
|
class cmd_oper : public command_t
|
|
|
|
{
|
|
|
|
public:
|
2006-07-09 20:41:36 +00:00
|
|
|
cmd_oper () : command_t("OPER",0,2) { }
|
|
|
|
void Handle(char **parameters, int pcnt, userrec *user);
|
2005-12-16 18:10:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|