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

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

NickServServiceservice
 
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 ( Module me,
NickServService nss,
User user,
NickAlias nick,
time_t  delay 
)
inline

Definition at line 24 of file nickserv.cpp.

Member Function Documentation

void NickServCollide::Tick ( time_t  ctime)
inlinevirtual

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

Reference<NickAlias> NickServCollide::na
private

Definition at line 21 of file nickserv.cpp.

NickServService* NickServCollide::service
private

Definition at line 18 of file nickserv.cpp.

time_t NickServCollide::ts
private

Definition at line 20 of file nickserv.cpp.

Referenced by Tick().

Reference<User> NickServCollide::u
private

Definition at line 19 of file nickserv.cpp.


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