|
|||
|
|||
|


Public Member Functions | |
| void | LoadOperMOTD () |
| ModuleOpermotd (InspIRCd *Me) | |
| virtual | ~ModuleOpermotd () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
| virtual void | OnOper (User *user, const std::string &opertype) |
| Called whenever a user opers locally. | |
| virtual void | OnRehash (User *user, const std::string ¶meter) |
| Called on rehash. | |
Private Attributes | |
| CommandOpermotd * | mycommand |
Definition at line 59 of file m_opermotd.cpp.
|
|
Definition at line 78 of file m_opermotd.cpp. References InspIRCd::AddCommand(), ModuleManager::Attach(), I_OnOper, I_OnRehash, LoadOperMOTD(), InspIRCd::Modules, mycommand, and Module::ServerInstance. |
|
|
Definition at line 90 of file m_opermotd.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 94 of file m_opermotd.cpp. References API_VERSION, and VF_VENDOR. |
|
|
Definition at line 64 of file m_opermotd.cpp. References conf, ConfigReader::ReadValue(), and Module::ServerInstance. Referenced by ModuleOpermotd(), and OnRehash(). |
|
||||||||||||
|
Called whenever a user opers locally. The User will contain the oper mode 'o' as this function is called after any modifications are made to the user's structure by the core.
Reimplemented from Module. Definition at line 100 of file m_opermotd.cpp. References ShowOperMOTD(). |
|
||||||||||||
|
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 105 of file m_opermotd.cpp. References LoadOperMOTD(). |
|
|
Definition at line 61 of file m_opermotd.cpp. Referenced by ModuleOpermotd(). |