summaryrefslogtreecommitdiffstats
path: root/did-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'did-model.lua')
-rw-r--r--did-model.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/did-model.lua b/did-model.lua
index 0bb88c2..d817a37 100644
--- a/did-model.lua
+++ b/did-model.lua
@@ -862,6 +862,8 @@ function savedefinition(defin, test, exists)
defin.descr = defin.descr.." no change"
end
defin.errtxt = nil
+ -- Publish the change immediately
+ publishdefinition(definition.did)
end
if connected then databasedisconnect() end
end)
@@ -962,7 +964,7 @@ function publishdefinition(did)
publishrules(did, rules)
errtxt = nil
result = "Published DID rules"
- logme("Published DID "..did)
+ --logme("Published DID "..did)
break
end
end