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

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

◆ UnbanTimer()

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

Definition at line 66 of file bs_set.cpp.

Member Function Documentation

◆ Tick()

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

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

◆ chname

Anope::string CommandBSSetBanExpire::UnbanTimer::chname

Definition at line 62 of file bs_set.cpp.

◆ mask

Anope::string CommandBSSetBanExpire::UnbanTimer::mask

Definition at line 63 of file bs_set.cpp.

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