#include <sstream>
#include <vector>
#include <deque>
-#include "connection.h"
#include "users.h"
-#include "servers.h"
#include "ctables.h"
#include "globals.h"
#include "modules.h"
extern int boundPortCount;
extern int portCount;
-extern int SERVERportCount;
+
extern int ports[MAXSOCKS];
-extern int defaultRoute;
-extern std::vector<long> auth_cookies;
extern std::stringstream config_f;
-extern serverrec* me[32];
-
extern FILE *log_file;
extern time_t TIME;
bool chanrec::IsCustomModeSet(char mode)
{
- log(DEBUG,"Checking ISCustomModeSet: %c %s",mode,this->custom_modes);
- return (strchr(this->custom_modes,mode) != 0);
+ return (strchr(this->custom_modes,mode));
}
std::string chanrec::GetModeParameter(char mode)