Anope IRC Services  Version 2.0
Public Member Functions
UnrealExtban::RealnameMatcher Class Reference
Inheritance diagram for UnrealExtban::RealnameMatcher:
Inheritance graph
[legend]
Collaboration diagram for UnrealExtban::RealnameMatcher:
Collaboration graph
[legend]

Public Member Functions

 RealnameMatcher (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 497 of file unreal.cpp.

Constructor & Destructor Documentation

UnrealExtban::RealnameMatcher::RealnameMatcher ( const Anope::string mname,
const Anope::string mbase,
char  c 
)
inline

Definition at line 500 of file unreal.cpp.

Member Function Documentation

bool UnrealExtban::RealnameMatcher::Matches ( User u,
const Entry e 
)
inlinevirtual

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

Parameters
uThe user
eThe entry to match against
Returns
true on match

Reimplemented from ChannelModeList.

Definition at line 504 of file unreal.cpp.

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


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