Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
NickServCollide Class Reference
Inheritance diagram for NickServCollide:
Inheritance graph
Collaboration diagram for NickServCollide:
Collaboration graph

Public Member Functions

 NickServCollide (Module *me, NickServService *nss, User *user, NickAlias *nick, time_t delay)
void Tick (time_t t) anope_override
- Public Member Functions inherited from Timer
 Timer (long time_from_now, time_t now=Anope::CurTime, bool repeating=false)
 Timer (Module *creator, long time_from_now, time_t now=Anope::CurTime, bool repeating=false)
virtual ~Timer ()
void SetTimer (time_t t)
time_t GetTimer () const
bool GetRepeat () const
void SetSecs (time_t t)
long GetSecs () const
time_t GetSetTime () const
ModuleGetOwner () const

Private Attributes

Reference< Useru
time_t ts
Reference< NickAliasna

Detailed Description

Timer for colliding nicks to force people off of nicknames

Definition at line 16 of file nickserv.cpp.

Constructor & Destructor Documentation

◆ NickServCollide()

NickServCollide::NickServCollide ( Module me,
NickServService nss,
User user,
NickAlias nick,
time_t  delay 

Definition at line 24 of file nickserv.cpp.

Referenced by NickServCore::Validate().

Member Function Documentation

◆ Tick()

void NickServCollide::Tick ( time_t  ctime)

Called when the timer ticks This should be overridden with something useful

Implements Timer.

Definition at line 28 of file nickserv.cpp.

References User::Account(), NickServService::Collide(), NickAlias::nc, User::timestamp, and ts.

Field Documentation

◆ na

Reference<NickAlias> NickServCollide::na

◆ service

NickServService* NickServCollide::service

Definition at line 18 of file nickserv.cpp.

◆ ts

time_t NickServCollide::ts

Definition at line 20 of file nickserv.cpp.

Referenced by Tick().

◆ u

Reference<User> NickServCollide::u

The documentation for this class was generated from the following file: