From d140d676999a96cb756665d86309c58c00b4e102 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 29 Jan 2010 14:19:43 -0700 Subject: * Changed the default security levels for some commands * Deleted no longer used loadscripts command * Updated security levels in the command table to match defaults in the core --HG-- branch : trunk --- sql/updates/7245_world_command.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sql/updates/7245_world_command.sql (limited to 'sql/updates') diff --git a/sql/updates/7245_world_command.sql b/sql/updates/7245_world_command.sql new file mode 100644 index 00000000000..7fc9a2ed371 --- /dev/null +++ b/sql/updates/7245_world_command.sql @@ -0,0 +1,8 @@ +-- delete unused command loadscripts +DELETE FROM `command` WHERE `name` = 'loadscripts'; +-- Change the default scurity level for some commands +UPDATE `command` SET `security`=2 WHERE `name` IN ('playall','npc setlink','reload creature_linked_respawn'); -- DB devs command +UPDATE `command` SET `security`=1 WHERE `name` IN ('freeze','listfreeze','unfreeze'); -- Players can be anoying when talking a mod +UPDATE `command` SET `security`=1 WHERE `name` IN ('gmannounce','gmnameannounce','gmnotify'); -- even mods needs to notify things when a higher range staft is not online +UPDATE `command` SET `security`=1 WHERE `name` IN ('ticket assign','ticket close','ticket comment','ticket unassign'); -- Dirty work for slaves +UPDATE `command` SET `security`=1 WHERE `name`='account addon'; -- Server admins uses addon to close northrend -- cgit v1.2.3