diff options
| author | 2023-01-09 18:30:09 +0000 | |
|---|---|---|
| committer | 2023-01-09 18:33:37 +0000 | |
| commit | 610930faced65f418d21f03058519456f713505d (patch) | |
| tree | 9b50b58d2dd2e7ccca3c62f5557d75cd2cd0c3ec /src/configreader.cpp | |
| parent | Fix 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.cpp | 2 |
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; |
