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

Public Member Functions

 BadwordsDelCallback (CommandSource &_source, ChannelInfo *_ci, Command *_c, const Anope::string &list)
 
 ~BadwordsDelCallback ()
 
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)
 

Private Attributes

CommandSourcesource
 
ChannelInfoci
 
BadWordsbw
 
Commandc
 
unsigned deleted
 
bool override
 

Detailed Description

Definition at line 146 of file bs_badwords.cpp.

Constructor & Destructor Documentation

BadwordsDelCallback::BadwordsDelCallback ( CommandSource _source,
ChannelInfo _ci,
Command _c,
const Anope::string list 
)
inline
BadwordsDelCallback::~BadwordsDelCallback ( )
inline

Definition at line 162 of file bs_badwords.cpp.

References _, Anope::string::c_str(), ChannelInfo::name, and CommandSource::Reply().

Member Function Documentation

void BadwordsDelCallback::HandleNumber ( unsigned  number)
inlinevirtual

Called with a number from the list

Parameters
numberThe number

Reimplemented from NumberList.

Definition at line 172 of file bs_badwords.cpp.

References deleted, BadWords::EraseBadWord(), BadWords::GetBadWord(), BadWords::GetBadWordCount(), LOG_COMMAND, LOG_OVERRIDE, and BadWord::word.

Field Documentation

BadWords* BadwordsDelCallback::bw
private

Definition at line 150 of file bs_badwords.cpp.

Command* BadwordsDelCallback::c
private

Definition at line 151 of file bs_badwords.cpp.

ChannelInfo* BadwordsDelCallback::ci
private

Definition at line 149 of file bs_badwords.cpp.

unsigned BadwordsDelCallback::deleted
private

Definition at line 152 of file bs_badwords.cpp.

Referenced by HandleNumber().

bool BadwordsDelCallback::override
private

Definition at line 153 of file bs_badwords.cpp.

CommandSource& BadwordsDelCallback::source
private

Definition at line 148 of file bs_badwords.cpp.


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