From 610930faced65f418d21f03058519456f713505d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 9 Jan 2023 18:30:09 +0000 Subject: Deduplicate sending the raw I/O logging warning. --- src/configreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/configreader.cpp') 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; -- cgit v1.3.1-10-gc9f91