Anope IRC Services  Version 2.0
Public Member Functions
ChannelModeNoone Class Reference

#include <modes.h>

Inheritance diagram for ChannelModeNoone:
Inheritance graph
[legend]
Collaboration diagram for ChannelModeNoone:
Collaboration graph
[legend]

Public Member Functions

 ChannelModeNoone (const Anope::string &mname, char mc)
 
bool CanSet (User *u) const anope_override
 
- Public Member Functions inherited from ChannelMode
 ChannelMode (const Anope::string &name, char mc)
 
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)
 

Additional Inherited Members

- 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 class is used for channel modes only servers may set

Definition at line 278 of file modes.h.

Constructor & Destructor Documentation

ChannelModeNoone::ChannelModeNoone ( const Anope::string mname,
char  mc 
)
inline

Definition at line 281 of file modes.h.

Member Function Documentation

bool ChannelModeNoone::CanSet ( User u) const
virtual

Can a user set this mode, used for mlock

Parameters
uThe user

Reimplemented from ChannelMode.

Definition at line 254 of file modes.cpp.


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