diff options
| author | 2023-01-09 18:30:09 +0000 | |
|---|---|---|
| committer | 2023-01-09 18:33:37 +0000 | |
| commit | 610930faced65f418d21f03058519456f713505d (patch) | |
| tree | 9b50b58d2dd2e7ccca3c62f5557d75cd2cd0c3ec /src/usermanager.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/usermanager.cpp')
| -rw-r--r-- | src/usermanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usermanager.cpp b/src/usermanager.cpp index 25fd9317e..eeaa5ab44 100644 --- a/src/usermanager.cpp +++ b/src/usermanager.cpp @@ -219,7 +219,7 @@ void UserManager::AddUser(int socket, ListenSocket* via, const irc::sockets::soc } if (ServerInstance->Config->RawLog) - New->WriteNotice("*** Raw I/O logging is enabled on this server. All messages, passwords, and commands are being recorded."); + ServerInstance->Logs.NotifyRawIO(New, MSG_NOTICE); FOREACH_MOD(OnChangeRemoteAddress, (New)); if (!New->quitting) |
