Major improvements on policy configuration

- Bugfixes on change_policy
- Replaced _consent modules with configurable modules
This commit is contained in:
Nathan Schneider
2022-08-09 17:00:24 -06:00
parent 78ea89559f
commit 22a2048d5a
21 changed files with 253 additions and 379 deletions

View File

@ -16,7 +16,7 @@ send_token.data = {
}
send_token.config = {
token_name = ""
token_name = nil -- hidden configuration
}
--- initiate function
@ -29,7 +29,7 @@ function send_token:initiate(result)
table.insert(token_list, k)
end
end
if token_list == {} then
if #token_list == 0 then
modpol.interactions.message(
self.initiator,
"No tokens in org")