|
|||
|
|||
|
Inheritance diagram for SVSHold:


Public Member Functions | |
| SVSHold (InspIRCd *Instance, time_t s_time, long d, const char *src, const char *re, const char *nick) | |
| ~SVSHold () | |
| 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 | nickname |
Definition at line 21 of file m_svshold.cpp.
|
||||||||||||||||||||||||||||
|
Definition at line 26 of file m_svshold.cpp. References nickname. |
|
|
Definition at line 31 of file m_svshold.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 54 of file m_svshold.cpp. References nickname. |
|
|
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 49 of file m_svshold.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 42 of file m_svshold.cpp. References nickname. |
|
|
Returns true whether or not the given user is covered by this line.
Implements XLine. Definition at line 35 of file m_svshold.cpp. References User::nick, and nickname. |
|
|
Definition at line 24 of file m_svshold.cpp. Referenced by Displayable(), Matches(), and SVSHold(). |