mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-13 16:14:52 +09:00
Commands now work if allow
This commit is contained in:
1 parent
af82181886
commit
d30dfe059d
4 files changed
+14
-11
No files matched your search
@@ -40,7 +40,7 @@ function string_to_rank(string)
|
||||
end
|
||||
-- surches the rank for a certain allow command
|
||||
function rank_allowed(rank,is_allowed)
|
||||
for _,allow in rank.allow do
|
||||
for _,allow in pairs(rank.allow) do
|
||||
if allow == is_allowed then return true end
|
||||
end
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user