From d057e057d36f6052972b90eb1f4bd03263f4dab5 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 11 Feb 2022 21:57:45 +0100 Subject: Core/Misc: Optimize ChatCommand includes (include only where neccessary) --- src/server/worldserver/CommandLine/CliRunnable.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/server/worldserver/CommandLine') diff --git a/src/server/worldserver/CommandLine/CliRunnable.cpp b/src/server/worldserver/CommandLine/CliRunnable.cpp index b36e9edf9d1..5263d3ba3b6 100644 --- a/src/server/worldserver/CommandLine/CliRunnable.cpp +++ b/src/server/worldserver/CommandLine/CliRunnable.cpp @@ -19,22 +19,14 @@ /// @{ /// \file -#include "Common.h" -#include "ObjectMgr.h" -#include "World.h" -#include "WorldSession.h" -#include "Configuration/Config.h" - -#include "AccountMgr.h" -#include "Chat.h" #include "CliRunnable.h" -#include "Language.h" -#include "Log.h" -#include "MapManager.h" -#include "Player.h" +#include "Config.h" #include "Util.h" +#include "World.h" #if TRINITY_PLATFORM != TRINITY_PLATFORM_WINDOWS +#include "Chat.h" +#include "ChatCommand.h" #include #include #endif -- cgit v1.2.3