diff options
Diffstat (limited to 'src/command')
| -rw-r--r-- | src/command/commandHandler.cpp | 4 | ||||
| -rw-r--r-- | src/command/commandHandler.hpp | 4 | ||||
| -rw-r--r-- | src/command/commands.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/command/commandHandler.cpp b/src/command/commandHandler.cpp index 3baeeb1..45306c2 100644 --- a/src/command/commandHandler.cpp +++ b/src/command/commandHandler.cpp @@ -1,8 +1,8 @@ #include "commandHandler.hpp" -#include "../debug/log.hpp" #include "../core/session.hpp" -#include <algorithm> +#include "../debug/log.hpp" #include "../misc/memory.hpp" +#include <algorithm> CCommandHandler::CCommandHandler() { log(LOG, "CommandHandler: initialized"); diff --git a/src/command/commandHandler.hpp b/src/command/commandHandler.hpp index 5a8636f..51dcaa0 100644 --- a/src/command/commandHandler.hpp +++ b/src/command/commandHandler.hpp @@ -1,9 +1,9 @@ #pragma once #include "../core/session.hpp" +#include "../misc/memory.hpp" #include <any> #include <functional> -#include "../misc/memory.hpp" #include <netinet/in.h> #include <string> #include <vector> @@ -64,7 +64,7 @@ class CCommandHandler { private: SP<CCommandHandler::SCommand> getCommand(const std::string &command) const; - SResult exeCommand(const SP<SCommand> command, const std::string &args) const; + SResult exeCommand(const SP<SCommand> command, const std::string &args) const; std::vector<SP<SCommand>> m_vCommands; }; diff --git a/src/command/commands.cpp b/src/command/commands.cpp index 6f3db68..d510fe4 100644 --- a/src/command/commands.cpp +++ b/src/command/commands.cpp @@ -1,8 +1,8 @@ #include "commands.hpp" -#include "commandHandler.hpp" +#include "../core/sessionManager.hpp" #include "../debug/format.hpp" #include "../debug/log.hpp" -#include "../core/sessionManager.hpp" +#include "commandHandler.hpp" #define NOREASON "No reason specified"; |
