diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_operlog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index 67857e0c4..145f7e68a 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -57,9 +57,10 @@ class ModuleOperLog : public Module if ((thiscommand) && (thiscommand->flags_needed == 'o')) { std::string msg = "[" + user->GetFullRealHost() + "] " + command + " " + stdalgo::string::join(parameters); - ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "OPERLOG: " + msg); if (tosnomask) ServerInstance->SNO->WriteGlobalSno('r', msg); + else + ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, msg); } } |