Skip to content

Commit

Permalink
Bug correction: calling doscript() as a local function.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasguisasola committed Aug 2, 2013
1 parent 81e6e57 commit 47fc73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgilua/cgilua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function M.doif (filename)
local f, err = _open(filename)
if not f then return nil, err end -- no file (or unreadable file)
f:close()
return doscript (filename)
return M.doscript (filename)
end

---------------------------------------------------------------------------
Expand Down

0 comments on commit 47fc73a

Please sign in to comment.