From 8b694bc392c36551e428b84454efb81cdbc8bcd3 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 6 Feb 2017 14:23:18 -0500 Subject: Track override in CommandSource and use it in the logger --- modules/global/global.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/global') diff --git a/modules/global/global.cpp b/modules/global/global.cpp index 1d7ff7073..3b7abb60a 100644 --- a/modules/global/global.cpp +++ b/modules/global/global.cpp @@ -41,7 +41,7 @@ class CommandGLGlobal : public Command return; } - logger.Command(LogType::ADMIN, source, _("{source} used {command} to send {0}"), msg); + logger.Admin(source, _("{source} used {command} to send {0}"), msg); service->SendGlobal(NULL, source.GetNick(), msg); } -- cgit