|
|||
|
|||
|


Public Member Functions | |
| ModuleChanCreate (InspIRCd *Me) | |
| virtual | ~ModuleChanCreate () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
| virtual void | OnUserJoin (User *user, Channel *channel, bool sync, bool &silent) |
| Called when a user joins a channel. | |
Definition at line 18 of file m_chancreate.cpp.
|
|
Definition at line 22 of file m_chancreate.cpp. References ModuleManager::Attach(), SnomaskManager::EnableSnomask(), I_OnUserJoin, InspIRCd::Modules, Module::ServerInstance, and InspIRCd::SNO. |
|
|
Definition at line 31 of file m_chancreate.cpp. References SnomaskManager::DisableSnomask(), Module::ServerInstance, and InspIRCd::SNO. |
|
|
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 37 of file m_chancreate.cpp. References API_VERSION, and VF_VENDOR. |
|
||||||||||||||||||||
|
Called when a user joins a channel. The details of the joining user are available to you in the parameter User *user, and the details of the channel they have joined is available in the variable Channel *channel
Reimplemented from Module. Definition at line 43 of file m_chancreate.cpp. References Channel::GetUserCounter(), User::host, User::ident, IS_LOCAL, Channel::IsModeSet(), Channel::name, User::nick, Module::ServerInstance, InspIRCd::SNO, and SnomaskManager::WriteToSnoMask(). |