Merge pull request #96 from Patman64/ban_compile_error

Fix compiling error due to Ban global method.
This commit is contained in:
Rochet2
2014-08-02 11:05:22 +03:00

View File

@@ -951,7 +951,7 @@ namespace LuaGlobalFunctions
std::string nameOrIP = Eluna::CHECKVAL<std::string>(L, 2);
uint32 duration = Eluna::CHECKVAL<uint32>(L, 3);
const char* reason = Eluna::CHECKVAL<const char*>(L, 4);
const char* whoBanned = Eluna::CHECKOBJ<Player>(L, 5);
const char* whoBanned = Eluna::CHECKVAL<const char*>(L, 5);
switch (banMode)
{