InspIRCd
3.0
|
#include <isupportmanager.h>
Public Member Functions | |
void | Build () |
const std::vector< Numeric::Numeric > & | GetLines () const |
void | SendTo (LocalUser *user) |
This class manages the generation and transmission of ISUPPORT.
void ISupportManager::Build | ( | ) |
(Re)build the ISUPPORT vector. Called by the core on boot after all modules have been loaded, and every time when a module is loaded or unloaded. Calls the On005Numeric hook, letting modules manipulate the ISUPPORT tokens.
This is currently the neatest way we can build the initial ISUPPORT map. In the future we can use an initializer list here.
|
inline |
Returns the cached std::vector of ISUPPORT lines.
void ISupportManager::SendTo | ( | LocalUser * | user | ) |
Send the 005 numerics (ISUPPORT) to a user.
user | The user to send the ISUPPORT numerics to |