|
|||
|
|||
|


Public Member Functions | |
| ModuleSVSHold (InspIRCd *Me) | |
| virtual int | OnStats (char symbol, User *user, string_list &out) |
| Called on all /STATS commands This method is triggered for all /STATS use, including stats symbols handled by the core. | |
| virtual int | OnUserPreNick (User *user, const std::string &newnick) |
| Called before any nickchange, local or remote. | |
| virtual | ~ModuleSVSHold () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
Private Attributes | |
| CommandSvshold * | mycommand |
| SVSHoldFactory * | s |
Definition at line 143 of file m_svshold.cpp.
|
|
Definition at line 150 of file m_svshold.cpp. References InspIRCd::AddCommand(), ModuleManager::Attach(), I_OnDecodeMetaData, I_OnStats, I_OnSyncOtherMetaData, I_OnUserPreNick, InspIRCd::Modules, mycommand, XLineManager::RegisterFactory(), s, Module::ServerInstance, and InspIRCd::XLines. |
|
|
Definition at line 183 of file m_svshold.cpp. References XLineManager::DelAll(), s, Module::ServerInstance, XLineManager::UnregisterFactory(), and InspIRCd::XLines. |
|
|
Returns the version number of a Module. The method should return a Version object with its version information assigned via Version::Version Reimplemented from Module. Definition at line 189 of file m_svshold.cpp. References API_VERSION, VF_COMMON, and VF_VENDOR. |
|
||||||||||||||||
|
Called on all /STATS commands This method is triggered for all /STATS use, including stats symbols handled by the core.
Reimplemented from Module. Definition at line 161 of file m_svshold.cpp. References XLineManager::InvokeStats(), Module::ServerInstance, and InspIRCd::XLines. |
|
||||||||||||
|
Called before any nickchange, local or remote. This can be used to implement Q-lines etc. Please note that although you can see remote nickchanges through this function, you should NOT make any changes to the User if the user is a remote user as this may cause a desnyc. check user->server before taking any action (including returning nonzero from the method). If your method returns nonzero, the nickchange is silently forbidden, and it is down to your module to generate some meaninful output.
Reimplemented from Module. Definition at line 170 of file m_svshold.cpp. References XLineManager::MatchesLine(), User::nick, XLine::reason, Module::ServerInstance, User::WriteServ(), and InspIRCd::XLines. |
|
|
Definition at line 145 of file m_svshold.cpp. Referenced by ModuleSVSHold(). |
|
|
Definition at line 146 of file m_svshold.cpp. Referenced by ModuleSVSHold(), and ~ModuleSVSHold(). |