aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/ScriptLoader.cpp.in.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/ScriptLoader.cpp.in.cmake')
-rw-r--r--src/server/scripts/ScriptLoader.cpp.in.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/scripts/ScriptLoader.cpp.in.cmake b/src/server/scripts/ScriptLoader.cpp.in.cmake
index de157c871f5..e4e92fa24b5 100644
--- a/src/server/scripts/ScriptLoader.cpp.in.cmake
+++ b/src/server/scripts/ScriptLoader.cpp.in.cmake
@@ -21,8 +21,6 @@
#cmakedefine TRINITY_IS_DYNAMIC_SCRIPTLOADER
#include "Define.h"
-#include <vector>
-#include <string>
@TRINITY_SCRIPTS_FORWARD_DECL@
#ifdef TRINITY_IS_DYNAMIC_SCRIPTLOADER
@@ -33,7 +31,7 @@ extern "C" {
/// Exposed in script modules to return the script module revision hash.
TC_SCRIPT_API char const* GetScriptModuleRevisionHash()
{
- return _HASH;
+ return TRINITY_GIT_COMMIT_HASH;
}
/// Exposed in script module to return the name of the script module