Core/RBAC: Add .reload rbac command and prevent possible crash if rbac_permissions has wrong data

This commit is contained in:
Spp
2013-02-27 03:29:11 +01:00
parent 4ea31ce886
commit 480c6cf4dd
13 changed files with 255 additions and 29 deletions

View File

@@ -0,0 +1,3 @@
DELETE FROM `command` WHERE `name` = 'reload rbac';
INSERT INTO `command` (`name`,`security`,`help`) VALUES
('reload rbac',3,'Syntax: .reload rbac\nReload rbac system.');