Anope IRC Services  Version 2.0
Public Member Functions
UserModeNoone Class Reference

#include <modes.h>

Inheritance diagram for UserModeNoone:
Inheritance graph
Collaboration diagram for UserModeNoone:
Collaboration graph

Public Member Functions

 UserModeNoone (const Anope::string &mname, char um)
bool CanSet (User *u) const anope_override
- Public Member Functions inherited from UserMode
 UserMode (const Anope::string &name, char mc)
- 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 Mode
Anope::string name
ModeClass mclass
char mchar
ModeType type

Detailed Description

Definition at line 247 of file modes.h.

Constructor & Destructor Documentation

◆ UserModeNoone()

UserModeNoone::UserModeNoone ( const Anope::string mname,
char  um 

Definition at line 250 of file modes.h.

References anope_override, and Mode::CanSet().

Member Function Documentation

◆ CanSet()

bool UserModeNoone::CanSet ( User u) const

Can a user set this mode, used for mlock

uThe user

Reimplemented from Mode.

Definition at line 236 of file modes.cpp.

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