From 784e611272ac43e107ae1a5ab6b3660882b2cda8 Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 16 Oct 2021 15:33:57 -0400 Subject: [PATCH] chore: remove unused setField func --- lua.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lua.go b/lua.go index 4e7ceaa..04e7698 100644 --- a/lua.go +++ b/lua.go @@ -8,7 +8,6 @@ import ( "syscall" "time" - "hilbish/util" "hilbish/golibs/bait" "hilbish/golibs/commander" "hilbish/golibs/fs" @@ -96,13 +95,6 @@ func RunLogin() { } } -func setField(L *lua.LState, module lua.LValue, name string, val lua.LValue, doc string) { - if val.Type() == lua.LTTable { - util.Document(L, module, doc) - } - L.SetField(module, name, val) -} - /* prompt(str) Changes the shell prompt to `str` There are a few verbs that can be used in the prompt text.