diff --git a/GlobalMethods.h b/GlobalMethods.h index 6041291..bb2757c 100644 --- a/GlobalMethods.h +++ b/GlobalMethods.h @@ -1953,11 +1953,7 @@ namespace LuaGlobalFunctions { int banMode = Eluna::CHECKVAL(L, 1); std::string nameOrIP = Eluna::CHECKVAL(L, 2); -#ifdef AZEROTHCORE - std::string duration = Eluna::CHECKVAL(L, 3); -#elif uint32 duration = Eluna::CHECKVAL(L, 3); -#endif const char* reason = Eluna::CHECKVAL(L, 4, ""); const char* whoBanned = Eluna::CHECKVAL(L, 5, "");