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

Public Member Functions

 AkillDelCallback (CommandSource &_source, const Anope::string &numlist, Command *c)
 ~AkillDelCallback ()
void HandleNumber (unsigned number) anope_override
- Public Member Functions inherited from NumberList
 NumberList (const Anope::string &list, bool descending)
virtual ~NumberList ()
void Process ()
virtual bool InvalidRange (const Anope::string &list)

Static Public Member Functions

static void DoDel (CommandSource &source, XLine *x)

Private Attributes

unsigned deleted

Detailed Description

Definition at line 16 of file os_akill.cpp.

Constructor & Destructor Documentation

◆ AkillDelCallback()

AkillDelCallback::AkillDelCallback ( CommandSource _source,
const Anope::string numlist,
Command c 

Definition at line 22 of file os_akill.cpp.

◆ ~AkillDelCallback()

AkillDelCallback::~AkillDelCallback ( )

Definition at line 26 of file os_akill.cpp.

References _, and CommandSource::Reply().

Member Function Documentation

◆ DoDel()

static void AkillDelCallback::DoDel ( CommandSource source,
XLine x 

Definition at line 52 of file os_akill.cpp.

References akills.

Referenced by CommandOSAKill::DoDel(), CommandOSAKill::Execute(), and HandleNumber().

◆ HandleNumber()

void AkillDelCallback::HandleNumber ( unsigned  number)

Called with a number from the list

numberThe number

Reimplemented from NumberList.

Definition at line 36 of file os_akill.cpp.

References akills, deleted, DoDel(), LOG_ADMIN, and XLine::mask.

Referenced by CommandOSAKill::ProcessList().

Field Documentation

◆ cmd

Command* AkillDelCallback::cmd

Definition at line 20 of file os_akill.cpp.

Referenced by CommandOSAKill::Execute().

◆ deleted

unsigned AkillDelCallback::deleted

Definition at line 19 of file os_akill.cpp.

Referenced by HandleNumber().

◆ source

CommandSource& AkillDelCallback::source

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