diff options
Diffstat (limited to 'modules/operserv/ignore.cpp')
-rw-r--r-- | modules/operserv/ignore.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/operserv/ignore.cpp b/modules/operserv/ignore.cpp index a5c39135d..cfc91b4d3 100644 --- a/modules/operserv/ignore.cpp +++ b/modules/operserv/ignore.cpp @@ -245,13 +245,13 @@ class CommandOSIgnore : public Command { source.Reply(_("\002{0}\002 will now permanently be ignored."), mask); - logger.Command(LogType::ADMIN, source, _("{source} used {command} to add a permanent ignore for {0}"), mask); + logger.Admin(source, _("{source} used {command} to add a permanent ignore for {0}"), mask); } else { source.Reply(_("\002{0}\002 will now be ignored for \002{1}\002."), mask, Anope::Duration(t, source.GetAccount())); - logger.Command(LogType::ADMIN, source, _("{source} used {command} to add an ignore on {0} for {1}"), mask, Anope::Duration(t)); + logger.Admin(source, _("{source} used {command} to add an ignore on {0} for {1}"), mask, Anope::Duration(t)); } } @@ -323,7 +323,7 @@ class CommandOSIgnore : public Command if (Anope::ReadOnly) source.Reply(_("Services are in read-only mode. Any changes made may not persist.")); - logger.Command(LogType::ADMIN, source, _("{source} used {command} to remove an ignore on {0}"), mask); + logger.Admin(source, _("{source} used {command} to remove an ignore on {0}"), mask); source.Reply(_("\002{0}\002 will no longer be ignored."), mask); ign->Delete(); @@ -337,7 +337,7 @@ class CommandOSIgnore : public Command for (Ignore *ign : Serialize::GetObjects<Ignore *>()) ign->Delete(); - logger.Command(LogType::ADMIN, source, _("{source} used {command} to CLEAR the ignore list")); + logger.Admin(source, _("{source} used {command} to CLEAR the ignore list")); source.Reply(_("Ignore list has been cleared.")); } |