|
|||
|
|||
|


Public Member Functions | |
| ModuleBotMode (InspIRCd *Me) | |
| virtual | ~ModuleBotMode () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
| virtual void | OnWhois (User *src, User *dst) |
| Called whenever a /WHOIS is performed on a local user. | |
Private Attributes | |
| BotMode * | bm |
Definition at line 26 of file m_botmode.cpp.
|
|
Definition at line 31 of file m_botmode.cpp. References ModeParser::AddMode(), ModuleManager::Attach(), bm, I_OnWhois, InspIRCd::Modes, InspIRCd::Modules, and Module::ServerInstance. |
|
|
Definition at line 43 of file m_botmode.cpp. References bm, ModeParser::DelMode(), 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 49 of file m_botmode.cpp. References API_VERSION, VF_COMMON, and VF_VENDOR. |
|
||||||||||||
|
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 54 of file m_botmode.cpp. References InspIRCd::Config, User::IsModeSet(), ServerConfig::Network, User::nick, InspIRCd::SendWhoisLine(), and Module::ServerInstance. |
|
|
Definition at line 29 of file m_botmode.cpp. Referenced by ModuleBotMode(), and ~ModuleBotMode(). |