mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 16:14:53 +09:00
fix: set roles after jailing
This commit is contained in:
1 parent
7568da8e8d
commit
ceca8fbf00
3 files changed
+39
-5
No files matched your search
@@ -0,0 +1,13 @@
|
||||
local Global = require 'utils.global' --- @dep utils.global
|
||||
|
||||
local Jail = {
|
||||
old_roles = {}
|
||||
}
|
||||
|
||||
local old_roles = Jail.old_roles
|
||||
Global.register(old_roles, function(tbl)
|
||||
Jail.old_roles = tbl
|
||||
old_roles = tbl
|
||||
end)
|
||||
|
||||
return Jail
|
||||
Reference in new issue
Block a user