mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-07 15:28:02 +00:00
feat(Core/Chat): Add chat filter with Aho-Corasick matching (#26051)
This commit is contained in:
12
data/sql/updates/pending_db_auth/rev_1780327604603266200.sql
Normal file
12
data/sql/updates/pending_db_auth/rev_1780327604603266200.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
--
|
||||
DELETE FROM `rbac_permissions` WHERE `id` IN (923, 924, 925);
|
||||
INSERT INTO `rbac_permissions` (`id`, `name`) VALUES
|
||||
(923, 'Command: chatfilter list'),
|
||||
(924, 'Command: chatfilter add'),
|
||||
(925, 'Command: chatfilter remove');
|
||||
|
||||
DELETE FROM `rbac_linked_permissions` WHERE `id` = 197 AND `linkedId` IN (923, 924, 925);
|
||||
INSERT INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES
|
||||
(197, 923),
|
||||
(197, 924),
|
||||
(197, 925);
|
||||
Reference in New Issue
Block a user