Anope IRC Services  Version 2.0
Public Member Functions
UnrealExtban::AccountMatcher Class Reference
Inheritance diagram for UnrealExtban::AccountMatcher:
Inheritance graph
Collaboration diagram for UnrealExtban::AccountMatcher:
Collaboration graph

Public Member Functions

 AccountMatcher (const Anope::string &mname, const Anope::string &mbase, char c)
bool Matches (User *u, const Entry *e) anope_override
- Public Member Functions inherited from UnrealExtBan
 UnrealExtBan (const Anope::string &mname, const Anope::string &basename, char extban)
ChannelModeWrap (Anope::string &param) anope_override
ChannelModeUnwrap (ChannelMode *cm, Anope::string &param) anope_override
- Public Member Functions inherited from ChannelModeVirtual< ChannelModeList >
 ChannelModeVirtual (const Anope::string &mname, const Anope::string &basename)
 ~ChannelModeVirtual ()
ChannelModeWrap (Anope::string &param) anope_override
- Public Member Functions inherited from ChannelModeList
 ChannelModeList (const Anope::string &name, char mc)
virtual bool IsValid (Anope::string &mask) const
virtual void OnAdd (Channel *chan, const Anope::string &mask)
virtual void OnDel (Channel *chan, const Anope::string &mask)
- Public Member Functions inherited from ChannelMode
 ChannelMode (const Anope::string &name, char mc)
bool CanSet (User *u) const anope_override
ChannelModeUnwrap (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

Definition at line 527 of file unreal.cpp.

Constructor & Destructor Documentation

◆ AccountMatcher()

UnrealExtban::AccountMatcher::AccountMatcher ( const Anope::string mname,
const Anope::string mbase,
char  c 

Definition at line 530 of file unreal.cpp.

Member Function Documentation

◆ Matches()

bool UnrealExtban::AccountMatcher::Matches ( User u,
const Entry e 

Checks if mask affects user Should only be used for extbans or other weird ircd-specific things.

uThe user
eThe entry to match against
true on match

Reimplemented from ChannelModeList.

Definition at line 534 of file unreal.cpp.

References Anope::Match(), and Anope::string::substr().

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