aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2020-10-08 16:45:20 +0200
committerTreeston <treeston.mmoc@gmail.com>2020-10-08 17:01:42 +0200
commit3ec98bf2410bb8fa73fe6b386a6e766bef575e97 (patch)
tree4bbc9a9a17419bb30059da77a70f6157b6243210 /sql/updates
parent5f001ddb2ba7974696f34c8da32ae901faf81bf9 (diff)
Core/ChatCommands: Fix a potential crash if a custom chat command does not have a specified help string
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/3.3.5/2020_10_08_00_world.sql6
1 files changed, 6 insertions, 0 deletions
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.');