bugfixes to get delete and add_org requests to work. Working!
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-- ===================================================================
|
||||
-- /orgs.lua
|
||||
-- INTERACTIONS.LUA (CLI)
|
||||
|
||||
-- User interaction functions for Modular Politics
|
||||
-- Called by modpol.lua
|
||||
|
||||
@@ -177,10 +177,10 @@ function modpol.interactions.binary_poll_user(user, question, func)
|
||||
until answer == "y" or answer == "n"
|
||||
if answer == "y" then
|
||||
modpol.interactions.message(user, "Response recorded")
|
||||
func("yes")
|
||||
func("Yes")
|
||||
elseif answer == "n" then
|
||||
modpol.interactions.message(user, "Response recorded")
|
||||
func("no")
|
||||
func("No")
|
||||
else
|
||||
modpol.interactions.message(user, "Error: invalid response")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user