Anope IRC Services  Version 2.0
Public Member Functions
UserModeOperOnly Class Reference

#include <modes.h>

Inheritance diagram for UserModeOperOnly:
Inheritance graph
Collaboration diagram for UserModeOperOnly:
Collaboration graph

Public Member Functions

 UserModeOperOnly (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 239 of file modes.h.

Constructor & Destructor Documentation

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

Definition at line 242 of file modes.h.

Member Function Documentation

bool UserModeOperOnly::CanSet ( User u) const

Can a user set this mode, used for mlock

uThe user

Reimplemented from Mode.

Definition at line 231 of file modes.cpp.

References User::HasMode().

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