aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorDDuarte <dnpd.dd@gmail.com>2014-11-10 23:10:02 +0000
committerDDuarte <dnpd.dd@gmail.com>2014-11-10 23:10:02 +0000
commit9c55d9fdebb821ac102a2b7e7a2a1ef0b92ac26c (patch)
treef01891ad20342ad1509e21430f419359b70176dc /sql/updates/auth
parenta74b7228b8c28f0cc6762816ea33be2ec8a2266e (diff)
Core/Commands: implement .pvpstats command
Shows number of battleground victories in the last 7 days Closes #13460 Conflicts: sql/base/auth_database.sql sql/updates/auth/2014_11_10_00_auth.sql src/server/game/Accounts/RBAC.h (cherry picked from commit fd0b96178174e624510a10f5bc27b60af406d901)
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/2014_11_10_00_auth_from_335.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/updates/auth/2014_11_10_00_auth_from_335.sql b/sql/updates/auth/2014_11_10_00_auth_from_335.sql
new file mode 100644
index 00000000000..088c5cc71b5
--- /dev/null
+++ b/sql/updates/auth/2014_11_10_00_auth_from_335.sql
@@ -0,0 +1,7 @@
+DELETE FROM rbac_permissions WHERE id = 797;
+INSERT INTO rbac_permissions (`id`, `name`) VALUES
+(797, 'Command: pvpstats');
+
+DELETE FROM rbac_linked_permissions WHERE `linkedId` = 797;
+INSERT INTO rbac_linked_permissions (`id`, `linkedId`) VALUES
+(199, 797);