diff options
-rw-r--r-- | sql/updates/2131_world.sql | 2 | ||||
-rw-r--r-- | sql/updates/2160_world.sql | 3 | ||||
-rw-r--r-- | src/game/Chat.cpp | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/sql/updates/2131_world.sql b/sql/updates/2131_world.sql index 76fb0b69c52..db0f517e61e 100644 --- a/sql/updates/2131_world.sql +++ b/sql/updates/2131_world.sql @@ -1,4 +1,4 @@ -DELETE FROM `command` WHERE `name` IN ('server difftime', 'npc tempadd', 'gobject tempadd', ''); +DELETE FROM `command` WHERE `name` IN ('server difftime', 'npc addtemp', 'gobject addtemp', ''); INSERT INTO `command` VALUES ('gobject tempadd','2','Adds a temporary gameobject that is not saved to DB.'), ('npc tempadd','2','Adds temporary NPC, not saved to database.'); diff --git a/sql/updates/2160_world.sql b/sql/updates/2160_world.sql new file mode 100644 index 00000000000..a4b308d60cb --- /dev/null +++ b/sql/updates/2160_world.sql @@ -0,0 +1,3 @@ +DELETE FROM command WHERE name LIKE "ahbotoption %"; +DELETE FROM command WHERE name LIKE "ahbotoptions %"; +DELETE FROM command WHERE name IN ('gobject addtemp','npc addtemp');
\ No newline at end of file diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 26645052a13..8c570efb3e3 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -573,7 +573,7 @@ ChatCommand * ChatHandler::getCommandTable() { "honor", SEC_GAMEMASTER, false, NULL, "", honorCommandTable }, //wp commands - { "path", SEC_GAMEMASTER, false, NULL, "", wpCommandTable }, + { "wp", SEC_GAMEMASTER, false, NULL, "", wpCommandTable }, { "loadpath", SEC_ADMINISTRATOR, false, &ChatHandler::HandleReloadAllPaths, "", NULL }, // AH bot { "ahbotoption", SEC_GAMEMASTER, false, &ChatHandler::HandleAHBotOptionsCommand, "", NULL }, |