mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix compiling error due to Ban global method.
This commit is contained in:
@@ -951,7 +951,7 @@ namespace LuaGlobalFunctions
|
|||||||
std::string nameOrIP = Eluna::CHECKVAL<std::string>(L, 2);
|
std::string nameOrIP = Eluna::CHECKVAL<std::string>(L, 2);
|
||||||
uint32 duration = Eluna::CHECKVAL<uint32>(L, 3);
|
uint32 duration = Eluna::CHECKVAL<uint32>(L, 3);
|
||||||
const char* reason = Eluna::CHECKVAL<const char*>(L, 4);
|
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)
|
switch (banMode)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user