|
|||
|
|||
|


Public Member Functions | |
| ModuleHelpop (InspIRCd *Me) | |
| virtual void | ReadConfig () |
| virtual void | OnRehash (User *user, const std::string ¶meter) |
| Called on rehash. | |
| virtual void | OnWhois (User *src, User *dst) |
| Called whenever a /WHOIS is performed on a local user. | |
| virtual | ~ModuleHelpop () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
Private Attributes | |
| std::string | h_file |
| CommandHelpop * | mycommand |
| Helpop * | ho |
Definition at line 83 of file m_helpop.cpp.
|
|
Definition at line 91 of file m_helpop.cpp. References InspIRCd::AddCommand(), ModeParser::AddMode(), ModuleManager::Attach(), ho, I_OnRehash, I_OnWhois, InspIRCd::Modes, InspIRCd::Modules, mycommand, ReadConfig(), and Module::ServerInstance. |
|
|
Definition at line 150 of file m_helpop.cpp. References ModeParser::DelMode(), ho, InspIRCd::Modes, 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 156 of file m_helpop.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 137 of file m_helpop.cpp. References ReadConfig(). |
|
||||||||||||
|
Called whenever a /WHOIS is performed on a local user. The source parameter contains the details of the user who issued the WHOIS command, and the dest parameter contains the information of the user they are whoising.
Reimplemented from Module. Definition at line 142 of file m_helpop.cpp. References User::IsModeSet(), User::nick, InspIRCd::SendWhoisLine(), and Module::ServerInstance. |
|
|
Definition at line 104 of file m_helpop.cpp. References assign(), helpop_map, ConfigReader::ReadValue(), and Module::ServerInstance. Referenced by ModuleHelpop(), and OnRehash(). |
|
|
Definition at line 86 of file m_helpop.cpp. |
|
|
Definition at line 88 of file m_helpop.cpp. Referenced by ModuleHelpop(), and ~ModuleHelpop(). |
|
|
Definition at line 87 of file m_helpop.cpp. Referenced by ModuleHelpop(). |