From 3ec98bf2410bb8fa73fe6b386a6e766bef575e97 Mon Sep 17 00:00:00 2001 From: Treeston Date: Thu, 8 Oct 2020 16:45:20 +0200 Subject: Core/ChatCommands: Fix a potential crash if a custom chat command does not have a specified help string --- sql/updates/world/3.3.5/2020_10_08_00_world.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 sql/updates/world/3.3.5/2020_10_08_00_world.sql (limited to 'sql') diff --git a/sql/updates/world/3.3.5/2020_10_08_00_world.sql b/sql/updates/world/3.3.5/2020_10_08_00_world.sql new file mode 100644 index 00000000000..2208e456128 --- /dev/null +++ b/sql/updates/world/3.3.5/2020_10_08_00_world.sql @@ -0,0 +1,6 @@ +-- +DELETE FROM `trinity_string` WHERE `entry`=196; +INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES +(196, 'There is no detailed usage information associated with \'%.*s\'. +This should never occur for stock TrinityCore commands - if it does, report this as a bug. +If this is a custom command, use `trinity_string` to specify it. Look at cs_achievement.cpp for example usage.'); -- cgit v1.2.3