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

InvisibleDeOper Class Reference

Inheritance diagram for InvisibleDeOper:

Inheritance graph
[legend]
Collaboration diagram for InvisibleDeOper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 InvisibleDeOper (InspIRCd *Instance)
bool BeforeMode (User *source, User *dest, Channel *channel, std::string &param, bool adding, ModeType type, bool)
 Before the mode character is processed by its handler, this method will be called.

Private Attributes

InspIRCdSrv

Detailed Description

Definition at line 129 of file m_invisible.cpp.


Constructor & Destructor Documentation

InvisibleDeOper::InvisibleDeOper InspIRCd Instance  )  [inline]
 

Definition at line 134 of file m_invisible.cpp.


Member Function Documentation

bool InvisibleDeOper::BeforeMode User source,
User dest,
Channel channel,
std::string param,
bool  adding,
ModeType  type,
bool 
[inline, virtual]
 

Before the mode character is processed by its handler, this method will be called.

Parameters:
source The sender of the mode
dest The target user for the mode, if you are watching a user mode
channel The target channel for the mode, if you are watching a channel mode
parameter The parameter of the mode, if the mode is supposed to have a parameter. If you alter the parameter you are given, the mode handler will see your atered version when it handles the mode.
adding True if the mode is being added and false if it is being removed The mode type, either MODETYPE_USER or MODETYPE_CHANNEL
Returns:
True to allow the mode change to go ahead, false to abort it. If you abort the change, the mode handler (and ModeWatcher::AfterMode()) will never see the mode change.

Reimplemented from ModeWatcher.

Definition at line 138 of file m_invisible.cpp.

References User::IsModeSet(), InspIRCd::Modes, User::nick, ModeParser::Process(), and ModeWatcher::ServerInstance.


Member Data Documentation

InspIRCd* InvisibleDeOper::Srv [private]
 

Definition at line 132 of file m_invisible.cpp.


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