The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

ChanFilter Class Reference

Handles channel mode +g. More...

Inheritance diagram for ChanFilter:

Inheritance graph
[legend]
Collaboration diagram for ChanFilter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ChanFilter (InspIRCd *Instance)
virtual bool ValidateParam (User *user, Channel *chan, std::string &word)
 Validate parameters.
virtual bool TellListTooLong (User *user, Channel *chan, std::string &word)
 Tell the user the list is too long.
virtual void TellAlreadyOnList (User *user, Channel *chan, std::string &word)
 Tell the user an item is already on the list.
virtual void TellNotSet (User *user, Channel *chan, std::string &word)
 Tell the user that the parameter is not in the list.

Detailed Description

Handles channel mode +g.

Definition at line 25 of file m_chanfilter.cpp.


Constructor & Destructor Documentation

ChanFilter::ChanFilter InspIRCd Instance  )  [inline]
 

Definition at line 28 of file m_chanfilter.cpp.


Member Function Documentation

virtual void ChanFilter::TellAlreadyOnList User user,
Channel chan,
std::string word
[inline, virtual]
 

Tell the user an item is already on the list.

Overridden by implementing module.

Parameters:
source Source user adding the parameter
channel Channel the parameter is being added to
parameter The actual parameter being added

Reimplemented from ListModeBase.

Definition at line 47 of file m_chanfilter.cpp.

References Channel::name, User::nick, and User::WriteNumeric().

virtual bool ChanFilter::TellListTooLong User user,
Channel chan,
std::string word
[inline, virtual]
 

Tell the user the list is too long.

Overridden by implementing module.

Parameters:
source Source user adding the parameter
channel Channel the parameter is being added to
parameter The actual parameter being added
Returns:
Ignored

Reimplemented from ListModeBase.

Definition at line 41 of file m_chanfilter.cpp.

References Channel::name, User::nick, and User::WriteNumeric().

virtual void ChanFilter::TellNotSet User user,
Channel chan,
std::string word
[inline, virtual]
 

Tell the user that the parameter is not in the list.

Overridden by implementing module.

Parameters:
source Source user removing the parameter
channel Channel the parameter is being removed from
parameter The actual parameter being removed

Reimplemented from ListModeBase.

Definition at line 52 of file m_chanfilter.cpp.

References Channel::name, User::nick, and User::WriteNumeric().

virtual bool ChanFilter::ValidateParam User user,
Channel chan,
std::string word
[inline, virtual]
 

Validate parameters.

Overridden by implementing module.

Parameters:
source Source user adding the parameter
channel Channel the parameter is being added to
parameter The actual parameter being added
Returns:
true if the parameter is valid

Reimplemented from ListModeBase.

Definition at line 30 of file m_chanfilter.cpp.

References Channel::name, User::nick, and User::WriteNumeric().


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