#include <modes.h>
Inherits ChannelMode.
Inherited by InspIRCdExtBan, InspIRCdExtBan, and UnrealExtBan.

Public Member Functions | |
| ChannelModeList (const Anope::string &name, char mc) | |
| virtual | ~ChannelModeList () |
| virtual bool | IsValid (const Anope::string &mask) const |
| virtual bool | Matches (const User *u, const Entry *e) |
| virtual void | OnAdd (Channel *chan, const Anope::string &mask) |
| virtual void | OnDel (Channel *chan, const Anope::string &mask) |
This is a mode for lists, eg b/e/I. These modes should inherit from this
Definition at line 112 of file modes.h.
| ChannelModeList::ChannelModeList | ( | const Anope::string & | name, | |
| char | mc | |||
| ) |
constructor
| name | The mode name | |
| mc | The mode char |
Definition at line 104 of file modes.cpp.
References Mode::type.
| ChannelModeList::~ChannelModeList | ( | ) | [virtual] |
| virtual bool ChannelModeList::IsValid | ( | const Anope::string & | mask | ) | const [inline, virtual] |
Is the mask valid
| mask | The mask |
Definition at line 129 of file modes.h.
Referenced by Channel::SetMode().
Checks if mask affects user Should only be used for extbans or other weird ircd-specific things.
| u | The user | |
| e | The entry to match against |
Reimplemented in InspIRCdExtBan, InspIRCdExtBan, and UnrealExtBan.
Definition at line 137 of file modes.h.
Referenced by Entry::Matches().
| virtual void ChannelModeList::OnAdd | ( | Channel * | chan, | |
| const Anope::string & | mask | |||
| ) | [inline, virtual] |
Called when a mask is added to a channel
| chan | The channel | |
| mask | The mask |
Definition at line 143 of file modes.h.
Referenced by Channel::SetModeInternal().
| virtual void ChannelModeList::OnDel | ( | Channel * | chan, | |
| const Anope::string & | mask | |||
| ) | [inline, virtual] |
Called when a mask is removed from a channel
| chan | The channel | |
| mask | The mask |
Definition at line 149 of file modes.h.
Referenced by Channel::RemoveModeInternal().
1.7.1