summaryrefslogtreecommitdiffstats
path: root/lualib/lua_maps.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_maps.lua')
-rw-r--r--lualib/lua_maps.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lualib/lua_maps.lua b/lualib/lua_maps.lua
index c7c331fc7..77aa298e5 100644
--- a/lualib/lua_maps.lua
+++ b/lualib/lua_maps.lua
@@ -72,6 +72,10 @@ local function maybe_adjust_type(data,mtype)
{'cdb:/', 'cdb'},
}
+ if mtype == 'callback' then
+ return mtype
+ end
+
for _,t in ipairs(known_types) do
if check_prefix(t[1], t[2]) then
return data,mtype