aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-01 00:20:11 +0100
committerGravatar Sadie Powell2022-10-01 02:00:48 +0100
commit04b4b81a0ab59ee048022eab63274360ea7a2322 (patch)
tree59be163f934b94aa727a207ca7c48616876743fe /src/configreader.cpp
parentMerge branch 'insp3' into master. (diff)
Inline the one use of ServerNoticeAll and rm the function.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index d15005804..9afefcc7c 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -656,7 +656,10 @@ void ConfigReaderThread::OnStop()
}
if (Config->RawLog && !old->RawLog)
- ServerInstance->Users.ServerNoticeAll("*** Raw I/O logging is enabled on this server. All messages, passwords, and commands are being recorded.");
+ {
+ for (auto* luser : ServerInstance->Users.GetLocalUsers())
+ luser->WriteNotice("*** Raw I/O logging is enabled on this server. All messages, passwords, and commands are being recorded.");
+ }
Config = old;
}