diff options
| author | 2023-01-11 00:45:36 +0000 | |
|---|---|---|
| committer | 2023-01-11 00:56:15 +0000 | |
| commit | abc5d52f1369dd9cb9aeb12d04a233f427c37186 (patch) | |
| tree | b238133e06bac79c1b9ed66964bcd67f7ee1e725 /src/configreader.cpp | |
| parent | Make some functions that don't use `this` static. (diff) | |
Const correct various functions.
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index 1c414a27b..9446695f2 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -489,7 +489,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string& useruid) ServerInstance->SNO.WriteGlobalSno('r', "*** Successfully rehashed server."); } -void ServerConfig::ApplyModules(User* user) +void ServerConfig::ApplyModules(User* user) const { std::vector<std::string> added_modules; ModuleManager::ModuleMap removed_modules = ServerInstance->Modules.GetModules(); @@ -693,7 +693,7 @@ void ConfigReaderThread::OnStop() if (Config->RawLog && !old->RawLog) { for (auto* luser : ServerInstance->Users.GetLocalUsers()) - ServerInstance->Logs.NotifyRawIO(luser, MSG_PRIVMSG); + Log::Manager::NotifyRawIO(luser, MSG_PRIVMSG); } Config = old; |
