Make ServerConfig::{ApplyModules, Fill} private.

This commit is contained in:
Sadie Powell 2021-05-13 15:29:39 +01:00
parent 448b04076e
commit c6c4bcf952

View File

@ -237,9 +237,11 @@ class CoreExport OperInfo
*/
class CoreExport ServerConfig
{
private:
void CrossCheckOperClassType();
private:
void ApplyModules(User* user);
void CrossCheckConnectBlocks(ServerConfig* current);
void CrossCheckOperClassType();
void Fill();
public:
/** How to treat a user in a channel who is banned. */
@ -483,9 +485,6 @@ class CoreExport ServerConfig
/** Apply configuration changes from the old configuration.
*/
void Apply(ServerConfig* old, const std::string &useruid);
void ApplyModules(User* user);
void Fill();
/** Escapes a value for storage in a configuration key.
* @param str The string to escape.