Skip to content
Snippets Groups Projects
Verified Commit b081236c authored by Petr Špaček's avatar Petr Špaček Committed by Tomas Krizek
Browse files

daf: remove ordering requirement between http and daf modules

parent 78ea39b2
Branches
Tags v5.3.0
1 merge request!966daf and HTTP fixes
......@@ -328,11 +328,16 @@ local function publish(_, ws)
end
end
function M.init()
-- avoid ordering problem between HTTP and daf module
event.after(0, M.config)
end
-- @function Configure module
function M.config()
if not http then
if verbose() then
log('[daf ] HTTP API unavailable because HTTP module is not loaded, use modules.load("daf > http")')
log('[daf ] HTTP API unavailable because HTTP module is not loaded, use modules.load("http")')
end
return
end
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment