From abc5d52f1369dd9cb9aeb12d04a233f427c37186 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 11 Jan 2023 00:45:36 +0000 Subject: Const correct various functions. --- src/configreader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/configreader.cpp') 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 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; -- cgit v1.3.1-10-gc9f91