|
|||
|
|||
|
Inheritance diagram for CBan:


Public Member Functions | |
| CBan (InspIRCd *Instance, time_t s_time, long d, const char *src, const char *re, const char *ch) | |
| ~CBan () | |
| bool | Matches (User *u) |
| Returns true whether or not the given user is covered by this line. | |
| bool | Matches (const std::string &s) |
| Returns true whether or not the given string is covered by this line. | |
| void | DisplayExpiry () |
| Called when the expiry message is to be displayed for the line. | |
| const char * | Displayable () |
| Returns the displayable form of the pattern for this xline, e.g. | |
Public Attributes | |
| irc::string | matchtext |
Definition at line 21 of file m_cban.cpp.
|
||||||||||||||||||||||||||||
|
Definition at line 26 of file m_cban.cpp. References matchtext. |
|
|
Definition at line 31 of file m_cban.cpp. |
|
|
Returns the displayable form of the pattern for this xline, e.g. '*' or '*baz*'. This must always return the full pattern in a form which can be used to construct an entire derived xline, even if it is stored differently internally (e.g. GLine stores the ident and host parts seperately but will still return ident for its Displayable() method) Implements XLine. Definition at line 53 of file m_cban.cpp. References matchtext. |
|
|
Called when the expiry message is to be displayed for the line. Usually a line in the form 'expiring Xline blah, set by...' see the DisplayExpiry methods of GLine, ELine etc. Implements XLine. Definition at line 48 of file m_cban.cpp. References XLine::duration, XLine::ServerInstance, InspIRCd::SNO, XLine::source, and SnomaskManager::WriteToSnoMask(). |
|
|
Returns true whether or not the given string is covered by this line.
Implements XLine. Definition at line 41 of file m_cban.cpp. References matchtext. |
|
|
Returns true whether or not the given user is covered by this line.
Implements XLine. Definition at line 36 of file m_cban.cpp. |
|
|
Definition at line 24 of file m_cban.cpp. Referenced by CBan(), Displayable(), and Matches(). |