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

Public Member Functions

 EntryMatcher (const Anope::string &mname, const Anope::string &mbase, char c)
bool Matches (User *u, const Entry *e) anope_override
- Public Member Functions inherited from InspIRCdExtBan
 InspIRCdExtBan (const Anope::string &mname, char modeChar)
 InspIRCdExtBan (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 108 of file inspircd20.cpp.

Constructor & Destructor Documentation

◆ EntryMatcher()

InspIRCdExtban::EntryMatcher::EntryMatcher ( const Anope::string mname,
const Anope::string mbase,
char  c 

Definition at line 111 of file inspircd20.cpp.

Member Function Documentation

◆ Matches()

bool InspIRCdExtban::EntryMatcher::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 InspIRCdExtBan.

Definition at line 115 of file inspircd20.cpp.

References Entry::Matches(), Service::name, and Anope::string::substr().

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