add warning to modpol.record

This commit is contained in:
user 2021-03-25 18:16:49 -04:00
parent 252c04c6c7
commit 41274b2ff7

View File

@ -132,6 +132,7 @@ modpol.record = function (org_id, msg, type)
if org_ledger == nil then
modpol.orgs [org_id]["ledger"] = { entry }
print("Warning: Org ".. org_id .. " did not have a ledger. This is an error.")
else