|
|||
|
|||
|
#include <umode_s.h>
Inheritance diagram for ModeUserServerNoticeMask:


Public Member Functions | |
| ModeUserServerNoticeMask (InspIRCd *Instance) | |
| ModeAction | OnModeChange (User *source, User *dest, Channel *channel, std::string ¶meter, bool adding, bool servermode) |
| Called when a mode change for your mode occurs. | |
| void | OnParameterMissing (User *user, User *dest, Channel *channel) |
| In the event that the mode should be given a parameter, and no parameter was provided, this method is called. | |
| std::string | GetUserParameter (User *user) |
| For user modes, return the current parameter, if any. | |
Definition at line 20 of file umode_s.h.
|
|
Definition at line 20 of file umode_s.cpp. |
|
|
For user modes, return the current parameter, if any.
Reimplemented from ModeHandler. Definition at line 50 of file umode_s.cpp. References User::FormatNoticeMasks(). |
|
||||||||||||||||||||||||||||
|
Called when a mode change for your mode occurs.
Reimplemented from ModeHandler. Definition at line 24 of file umode_s.cpp. References MODEACTION_ALLOW, MODEACTION_DENY, User::modes, User::ProcessNoticeMasks(), User::snomasks, and UM_SNOMASK. |
|
||||||||||||||||
|
In the event that the mode should be given a parameter, and no parameter was provided, this method is called. This allows you to give special information to the user, or handle this any way you like.
Reimplemented from ModeHandler. Definition at line 58 of file umode_s.cpp. References User::nick, and User::WriteServ(). |