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.


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


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

Function Documentation

◆ Collide()

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

Definition at line 108 of file users.cpp.

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

Referenced by User::OnIntroduce(), and NickServCore::Validate().

◆ CollideKill()

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

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

◆ MaxUserCount

unsigned MaxUserCount = 0

◆ MaxUserTime

time_t MaxUserTime = 0

◆ OperCount

int OperCount = 0

◆ UserListByNick

user_map UserListByNick

◆ UserListByUID

user_map UserListByUID

Definition at line 28 of file users.cpp.

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