|
|||
|
|||
|


Public Member Functions | |
| ModuleNoKicks (InspIRCd *Me) | |
| virtual void | On005Numeric (std::string &output) |
| Called when a 005 numeric is about to be output. | |
| virtual int | OnAccessCheck (User *source, User *dest, Channel *channel, int access_type) |
| Called before an action which requires a channel privilage check. | |
| virtual | ~ModuleNoKicks () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
Private Attributes | |
| NoKicks * | nk |
Definition at line 24 of file m_nokicks.cpp.
|
|
Definition at line 29 of file m_nokicks.cpp. References ModeParser::AddMode(), ModuleManager::Attach(), I_On005Numeric, I_OnAccessCheck, InspIRCd::Modes, InspIRCd::Modules, nk, and Module::ServerInstance. |
|
|
Definition at line 66 of file m_nokicks.cpp. References ModeParser::DelMode(), InspIRCd::Modes, nk, and Module::ServerInstance. |
|
|
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 72 of file m_nokicks.cpp. References API_VERSION, VF_COMMON, and VF_VENDOR. |
|
|
Called when a 005 numeric is about to be output. The module should modify the 005 numeric if needed to indicate its features.
Reimplemented from Module. Definition at line 39 of file m_nokicks.cpp. References InspIRCd::AddExtBanChar(), and Module::ServerInstance. |
|
||||||||||||||||||||
|
Called before an action which requires a channel privilage check.
This function is called before many functions which check a users status on a channel, for example before opping a user, deopping a user, kicking a user, etc. There are several values for access_type which indicate for what reason access is being checked. These are:
Reimplemented from Module. Definition at line 44 of file m_nokicks.cpp. References AC_KICK, ACR_ALLOW, ACR_DEFAULT, ACR_DENY, ERR_CHANOPRIVSNEEDED, Channel::IsExtBanned(), Channel::IsModeSet(), Channel::name, User::nick, Module::ServerInstance, and InspIRCd::ULine(). |
|
|
Definition at line 26 of file m_nokicks.cpp. Referenced by ModuleNoKicks(), and ~ModuleNoKicks(). |