fix: get function docs for normal modules (regression from 52a6eb2125)

dev
TorchedSammy 2021-11-22 18:29:26 -05:00
parent 812de48558
commit e67c549714
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ These are the global Hilbish functions that are always available and not part of
return 1
end
if not funcdocs then
funcdocs = f:read '*a'
end
local desc = ''
local ok = pcall(require, mod)
if ok then