aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-10-08 16:45:20 +0200
committerShauren <shauren.trinity@gmail.com>2022-02-28 15:54:08 +0100
commit1feb53939d7c1e452d0ac05489644f291f26d601 (patch)
treecd0277df5973be2486e3218057125ba64d0a2124 /sql
parent94a3b3d5418d08d7c7c603136aa8c6fc109c8a3b (diff)
Core/ChatCommands: Fix a potential crash if a custom chat command does not have a specified help string
(cherry picked from commit 3ec98bf2410bb8fa73fe6b386a6e766bef575e97)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/master/2022_02_28_19_world_2020_10_08_00_world.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/master/2022_02_28_19_world_2020_10_08_00_world.sql b/sql/updates/world/master/2022_02_28_19_world_2020_10_08_00_world.sql
new file mode 100644
index 00000000000..2208e456128
--- /dev/null
+++ b/sql/updates/world/master/2022_02_28_19_world_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.');