refactor(Core/Command): tele to teleport (#2956)

This commit is contained in:
Kitzunu
2020-05-28 13:24:36 +02:00
committed by GitHub
parent 2743874e5d
commit 027c42fdec
3 changed files with 11 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ public:
{ "quest", SEC_MODERATOR, true, &HandleLookupQuestCommand, "" },
{ "skill", SEC_MODERATOR, true, &HandleLookupSkillCommand, "" },
{ "taxinode", SEC_MODERATOR, true, &HandleLookupTaxiNodeCommand, "" },
{ "tele", SEC_MODERATOR, true, &HandleLookupTeleCommand, "" },
{ "teleport", SEC_MODERATOR, true, &HandleLookupTeleCommand, "" },
{ "title", SEC_MODERATOR, true, &HandleLookupTitleCommand, "" },
{ "map", SEC_MODERATOR, true, &HandleLookupMapCommand, "" },
{ "player", SEC_GAMEMASTER, true, nullptr, "", lookupPlayerCommandTable },
@@ -1045,7 +1045,7 @@ public:
return true;
}
// Find tele in game_tele order by name
// Find teleport in game_tele order by name
static bool HandleLookupTeleCommand(ChatHandler* handler, char const* args)
{
if (!*args)