mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(CORE/Commands): Renamed .character deleted old to .character deleted purge (#3300)
* fix(CORE/Commands): Renamed .character deleted old to .character deleted purge Closes https://github.com/azerothcore/azerothcore-wotlk/issues/2925 * Fixed indentation * Renamed handler function * Spacing * Update data/sql/updates/pending_db_world/rev_1597499028423474100.sql Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com> Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
{ "delete", SEC_CONSOLE, true, &HandleCharacterDeletedDeleteCommand, "" },
|
||||
{ "list", SEC_ADMINISTRATOR, true, &HandleCharacterDeletedListCommand, "" },
|
||||
{ "restore", SEC_ADMINISTRATOR, true, &HandleCharacterDeletedRestoreCommand, "" },
|
||||
{ "old", SEC_CONSOLE, true, &HandleCharacterDeletedOldCommand, "" },
|
||||
{ "purge", SEC_CONSOLE, true, &HandleCharacterDeletedPurgeCommand, "" },
|
||||
};
|
||||
|
||||
static std::vector<ChatCommand> characterCheckCommandTable =
|
||||
@@ -647,7 +647,7 @@ public:
|
||||
*
|
||||
* @param args the search string which either contains a player GUID or a part of the character-name
|
||||
*/
|
||||
static bool HandleCharacterDeletedOldCommand(ChatHandler* /*handler*/, char const* args)
|
||||
static bool HandleCharacterDeletedPurgeCommand(ChatHandler* /*handler*/, char const* args)
|
||||
{
|
||||
int32 keepDays = sWorld->getIntConfig(CONFIG_CHARDELETE_KEEP_DAYS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user