|
|||
|
|||
|


Public Member Functions | |
| ModuleChgHost (InspIRCd *Me) | |
| void | OnRehash (User *user, const std::string ¶meter) |
| Called on rehash. | |
| ~ModuleChgHost () | |
| Version | GetVersion () |
| Returns the version number of a Module. | |
Private Attributes | |
| CommandChghost * | mycommand |
| char | hostmap [256] |
Definition at line 82 of file m_chghost.cpp.
|
|
Definition at line 87 of file m_chghost.cpp. References InspIRCd::AddCommand(), ModuleManager::Attach(), hostmap, I_OnRehash, InspIRCd::Modules, mycommand, OnRehash(), and Module::ServerInstance. |
|
|
Definition at line 111 of file m_chghost.cpp. |
|
|
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 115 of file m_chghost.cpp. References API_VERSION, VF_COMMON, and VF_VENDOR. |
|
||||||||||||
|
Called on rehash. This method is called prior to a /REHASH or when a SIGHUP is received from the operating system. You should use it to reload any files so that your module keeps in step with the rest of the application. If a parameter is given, the core has done nothing. The module receiving the event can decide if this parameter has any relevence to it.
Reimplemented from Module. Definition at line 98 of file m_chghost.cpp. References Conf, hostmap, ConfigReader::ReadValue(), and Module::ServerInstance. Referenced by ModuleChgHost(). |
|
|
Definition at line 85 of file m_chghost.cpp. Referenced by ModuleChgHost(), and OnRehash(). |
|
|
Definition at line 84 of file m_chghost.cpp. Referenced by ModuleChgHost(). |