aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-09 18:30:09 +0000
committerGravatar Sadie Powell2023-01-09 18:33:37 +0000
commit610930faced65f418d21f03058519456f713505d (patch)
tree9b50b58d2dd2e7ccca3c62f5557d75cd2cd0c3ec /src/configreader.cpp
parentFix enabling the raw I/O logging warning when <log:level> is rawio. (diff)
Deduplicate sending the raw I/O logging warning.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 65df85bfd..db164c665 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -693,7 +693,7 @@ void ConfigReaderThread::OnStop()
if (Config->RawLog && !old->RawLog)
{
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.");
+ ServerInstance->Logs.NotifyRawIO(luser, MSG_PRIVMSG);
}
Config = old;