diff options
author | Adam <Adam@anope.org> | 2017-02-06 14:23:18 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-02-06 14:23:18 -0500 |
commit | 8b694bc392c36551e428b84454efb81cdbc8bcd3 (patch) | |
tree | ca3d1ca8aadac280c149518134de4208f91dad84 /modules/operserv/info.cpp | |
parent | 9ad06f49bbb3824139b0c0ee0a74898a18c8f735 (diff) |
Track override in CommandSource and use it in the logger
Diffstat (limited to 'modules/operserv/info.cpp')
-rw-r--r-- | modules/operserv/info.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/operserv/info.cpp b/modules/operserv/info.cpp index ff88a07d1..c052c46ae 100644 --- a/modules/operserv/info.cpp +++ b/modules/operserv/info.cpp @@ -172,7 +172,7 @@ class CommandOSInfo : public Command source.Reply(_("Added info to \002{0}\002."), target); - logger.Command(LogType::ADMIN, source, _("{source} used {command} to add oper information to {0}: {1}"), target, info); + logger.Admin(source, _("{source} used {command} to add oper information to {0}: {1}"), target, info); if (Anope::ReadOnly) source.Reply(_("Services are in read-only mode. Any changes made may not persist.")); @@ -200,7 +200,7 @@ class CommandOSInfo : public Command source.Reply(_("Deleted info from \002{0}\002."), target); - logger.Command(LogType::ADMIN, source, _("{source} used {command} to remove oper information from {0}: {1}"), target, info); + logger.Admin(source, _("{source} used {command} to remove oper information from {0}: {1}"), target, info); if (Anope::ReadOnly) source.Reply(_("Services are in read-only mode. Any changes made may not persist.")); @@ -225,7 +225,7 @@ class CommandOSInfo : public Command source.Reply(_("Cleared info from \002{0}\002."), target); - logger.Command(LogType::ADMIN, source, _("{source} used {command} to clear oper information for {0}"), target); + logger.Admin(source, _("{source} used {command} to clear oper information for {0}"), target); if (Anope::ReadOnly) source.Reply(_("Services are in read-only mode. Any changes made may not persist.")); |