|
|||
|
|||
|


Public Member Functions | |
| ModuleCAP (InspIRCd *Me) | |
| virtual bool | OnCheckReady (User *user) |
| Called to check if a user who is connecting can now be allowed to register If any modules return false for this function, the user is held in the waiting state until all modules return true. | |
| virtual | ~ModuleCAP () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
Private Attributes | |
| CommandCAP * | newcommand |
Definition at line 133 of file m_cap.cpp.
|
|
Definition at line 137 of file m_cap.cpp. References InspIRCd::AddCommand(), ModuleManager::Attach(), I_OnCheckReady, InspIRCd::Modules, newcommand, 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 161 of file m_cap.cpp. References API_VERSION, and VF_VENDOR. |
|
|
Called to check if a user who is connecting can now be allowed to register If any modules return false for this function, the user is held in the waiting state until all modules return true. For example a module which implements ident lookups will continue to return false for a user until their ident lookup is completed. Note that the registration timeout for a user overrides these checks, if the registration timeout is reached, the user is disconnected even if modules report that the user is not ready to connect.
Reimplemented from Module. Definition at line 148 of file m_cap.cpp. References Extensible::GetExt(). |
|
|
Definition at line 135 of file m_cap.cpp. Referenced by ModuleCAP(). |