fix(Core/DB): adjust commands sec level to follow wiki (#9978)

* sql: update gm list to security 3

* gm list SEC_ADMINISTRATOR fallback

* Update `gm on/off` to SEC_MODERATOR fallback

* update code style
This commit is contained in:
Noxies
2022-01-02 23:28:03 +01:00
committed by GitHub
parent 6958a86d37
commit e71d902027
2 changed files with 11 additions and 7 deletions

View File

@@ -0,0 +1,4 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1641155240423609800');
-- Adjust ".gm list" to security 3 as default
UPDATE `command` SET `security`='3' WHERE `name`='gm list';