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

Public Member Functions

 UnbanTimer (Module *creator, const Anope::string &ch, const Anope::string &bmask, time_t t)
 
void Tick (time_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

Anope::string chname
 
Anope::string mask
 

Detailed Description

Definition at line 60 of file bs_set.cpp.

Constructor & Destructor Documentation

CommandBSSetBanExpire::UnbanTimer::UnbanTimer ( Module creator,
const Anope::string ch,
const Anope::string bmask,
time_t  t 
)
inline

Definition at line 66 of file bs_set.cpp.

Member Function Documentation

void CommandBSSetBanExpire::UnbanTimer::Tick ( time_t  ctime)
inlinevirtual

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

Implements Timer.

Definition at line 68 of file bs_set.cpp.

References Channel::Find(), and Channel::RemoveMode().

Field Documentation

Anope::string CommandBSSetBanExpire::UnbanTimer::chname
private

Definition at line 62 of file bs_set.cpp.

Anope::string CommandBSSetBanExpire::UnbanTimer::mask
private

Definition at line 63 of file bs_set.cpp.


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