Anope IRC Services  Version 2.0
Functions | Variables
users.cpp File Reference
#include "services.h"
#include "modules.h"
#include "users.h"
#include "account.h"
#include "protocol.h"
#include "servers.h"
#include "channels.h"
#include "bots.h"
#include "config.h"
#include "opertype.h"
#include "language.h"
#include "sockets.h"
#include "uplink.h"
Include dependency graph for users.cpp:

Go to the source code of this file.

Functions

static void CollideKill (User *target, const Anope::string &reason)
 
static void Collide (User *u, const Anope::string &id, const Anope::string &type)
 

Variables

user_map UserListByNick
 
user_map UserListByUID
 
int OperCount = 0
 
unsigned MaxUserCount = 0
 
time_t MaxUserTime = 0
 

Function Documentation

static void Collide ( User u,
const Anope::string id,
const Anope::string type 
)
static

Definition at line 108 of file users.cpp.

References CollideKill(), IRCD, Me, and IRCDProto::SendKill().

Referenced by User::OnIntroduce().

static void CollideKill ( User target,
const Anope::string reason 
)
static

Definition at line 91 of file users.cpp.

References Anope::string::c_str(), IRCD, User::Kill(), Me, User::Quit(), IRCDProto::SendQuit(), and User::server.

Referenced by User::ChangeNick(), and Collide().

Variable Documentation

unsigned MaxUserCount = 0
time_t MaxUserTime = 0
int OperCount = 0
user_map UserListByNick
user_map UserListByUID

Definition at line 28 of file users.cpp.

Referenced by CommandOSStats::DoStatsHash(), and BotInfo::GenerateUID().