fix: define deregister function in commander module

pull/61/head
sammyette 2021-06-12 10:32:48 -04:00
parent 26eee56c8b
commit a413b28f2a
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ func New() Commander {
func (c *Commander) Loader(L *lua.LState) int {
var exports = map[string]lua.LGFunction{
"register": c.register,
"deregister": c.deregister,
}
mod := L.SetFuncs(L.NewTable(), exports)