|
|||
|
|||
|


Public Member Functions | |
| ModuleConnJoin (InspIRCd *Me) | |
| void | Prioritize () |
| virtual void | OnRehash (User *user, const std::string ¶meter) |
| Called on rehash. | |
| virtual | ~ModuleConnJoin () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
| virtual void | OnPostConnect (User *user) |
| Called after a user has fully connected and all modules have executed OnUserConnect This event is informational only. | |
Private Member Functions | |
| int | tokenize (const std::string &str, std::vector< std::string > &tokens) |
Private Attributes | |
| std::string | JoinChan |
| std::vector< std::string > | Joinchans |
Definition at line 18 of file m_conn_join.cpp.
|
|
Definition at line 45 of file m_conn_join.cpp. References ModuleManager::Attach(), I_OnPostConnect, I_OnRehash, InspIRCd::Modules, OnRehash(), and Module::ServerInstance. |
|
|
Definition at line 69 of file m_conn_join.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 73 of file m_conn_join.cpp. References API_VERSION, and VF_VENDOR. |
|
|
Called after a user has fully connected and all modules have executed OnUserConnect This event is informational only. You should not change any user information in this event. To do so, use the OnUserConnect method to change the state of local users. This is called for both local and remote users.
Reimplemented from Module. Definition at line 78 of file m_conn_join.cpp. References ServerLimits::ChanMax, InspIRCd::Config, IS_LOCAL, InspIRCd::IsChannel, Joinchans, Channel::JoinUser(), ServerConfig::Limits, Module::ServerInstance, and InspIRCd::Time(). |
|
||||||||||||
|
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 59 of file m_conn_join.cpp. References conf, JoinChan, Joinchans, ConfigReader::ReadValue(), Module::ServerInstance, and tokenize(). Referenced by ModuleConnJoin(). |
|
|
Reimplemented from Module. Definition at line 53 of file m_conn_join.cpp. References I_OnPostConnect, InspIRCd::Modules, PRIO_LAST, Module::ServerInstance, and ModuleManager::SetPriority(). |
|
||||||||||||
|
Definition at line 25 of file m_conn_join.cpp. Referenced by OnRehash(). |
|
|
Definition at line 21 of file m_conn_join.cpp. Referenced by OnRehash(). |
|
|
Definition at line 22 of file m_conn_join.cpp. Referenced by OnPostConnect(), and OnRehash(). |