Core: cleanup.
*remove some garbage *little bit moore const func *fix process of args in vmap3_extractor
This commit is contained in:
@@ -119,7 +119,7 @@ class ChatHandler
|
||||
|
||||
GameObject* GetNearbyGameObject();
|
||||
GameObject* GetObjectGlobalyWithGuidOrNearWithDbGuid(uint32 lowguid, uint32 entry);
|
||||
bool HasSentErrorMessage() { return sentErrorMessage;}
|
||||
bool HasSentErrorMessage() const { return sentErrorMessage;}
|
||||
void SetSentErrorMessage(bool val){ sentErrorMessage = val;};
|
||||
static bool LoadCommandTable() { return load_command_table;}
|
||||
static void SetLoadCommandTable(bool val){ load_command_table = val;};
|
||||
|
||||
@@ -4208,8 +4208,6 @@ bool ChatHandler::HandleServerSetMotdCommand(const char *args)
|
||||
/// Set whether we accept new clients
|
||||
bool ChatHandler::HandleServerSetClosedCommand(const char *args)
|
||||
{
|
||||
std::string arg = args;
|
||||
|
||||
if (strncmp(args, "on", 3) == 0)
|
||||
{
|
||||
SendSysMessage(LANG_WORLD_CLOSED);
|
||||
|
||||
Reference in New Issue
Block a user