Fix compiling error due to Ban global method.

This commit is contained in:
Patman64
2014-08-02 02:17:54 -04:00
parent 57153d6c47
commit a8d0ba6757

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)
{