|
|||
|
|||
|


Public Member Functions | |
| ModulePermanentChannels (InspIRCd *Me) | |
| virtual | ~ModulePermanentChannels () |
| virtual void | OnRehash (User *user, const std::string ¶meter) |
| Called on rehash. | |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
| virtual int | OnChannelPreDelete (Channel *c) |
| Called whenever a channel is about to be deleted. | |
Private Attributes | |
| PermChannel * | p |
Definition at line 72 of file m_permchannels.cpp.
|
|
Definition at line 77 of file m_permchannels.cpp. References ModeParser::AddMode(), ModuleManager::Attach(), I_OnChannelPreDelete, InspIRCd::Modes, InspIRCd::Modules, OnRehash(), p, and Module::ServerInstance. |
|
|
Definition at line 91 of file m_permchannels.cpp. References ModeParser::DelMode(), InspIRCd::Modes, p, 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 152 of file m_permchannels.cpp. References API_VERSION, VF_COMMON, and VF_VENDOR. |
|
|
Called whenever a channel is about to be deleted.
Reimplemented from Module. Definition at line 157 of file m_permchannels.cpp. References Channel::IsModeSet(). |
|
||||||||||||
|
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 97 of file m_permchannels.cpp. References DEBUG, ConfigReader::Enumerate(), InspIRCd::FakeClient, InspIRCd::FindChan(), ModeParser::FindMode(), ModeHandler::GetNumParams(), irc::sepstream::GetToken(), LogManager::Log(), InspIRCd::Logs, InspIRCd::Modes, MODETYPE_CHANNEL, ModeHandler::OnModeChange(), ConfigReader::ReadValue(), Module::ServerInstance, Channel::SetTopic(), and InspIRCd::Time(). Referenced by ModulePermanentChannels(). |
|
|
Definition at line 74 of file m_permchannels.cpp. Referenced by ModulePermanentChannels(), and ~ModulePermanentChannels(). |