Anope IRC Services  Version 2.0
Public Member Functions | Data Fields
ChannelModeStatus Class Reference

#include <modes.h>

Inheritance diagram for ChannelModeStatus:
Inheritance graph
Collaboration diagram for ChannelModeStatus:
Collaboration graph

Public Member Functions

 ChannelModeStatus (const Anope::string &name, char mc, char msymbol, short mlevel)
- Public Member Functions inherited from ChannelMode
 ChannelMode (const Anope::string &name, char mc)
bool CanSet (User *u) const anope_override
virtual ChannelModeWrap (Anope::string &param)
ChannelModeUnwrap (Anope::string &param)
virtual ChannelModeUnwrap (ChannelMode *, Anope::string &param)
- Public Member Functions inherited from Mode
 Mode (const Anope::string &mname, ModeClass mclass, char mc, ModeType type)
virtual ~Mode ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Data Fields

char symbol
short level
- Data Fields inherited from ChannelMode
std::vector< ChannelMode * > listeners
- Data Fields inherited from Mode
Anope::string name
ModeClass mclass
char mchar
ModeType type

Detailed Description

This is a mode that is a channel status, eg +v/h/o/a/q.

Definition at line 185 of file modes.h.

Constructor & Destructor Documentation

◆ ChannelModeStatus()

ChannelModeStatus::ChannelModeStatus ( const Anope::string name,
char  mc,
char  msymbol,
short  mlevel 


nameThe mode name
mcThe mode char
msymbolThe symbol for the mode, eg @ %
mlevelA level for the mode, which is usually determined by the PREFIX capab

Definition at line 190 of file modes.cpp.

References MODE_STATUS, and Mode::type.

Field Documentation

◆ level

short ChannelModeStatus::level

Definition at line 193 of file modes.h.

Referenced by StatusSort::operator()(), and IRCDMessageCapab::Run().

◆ symbol

char ChannelModeStatus::symbol

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