mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-28 01:10:42 +00:00
fix: define deregister function in commander module
This commit is contained in:
parent
26eee56c8b
commit
a413b28f2a
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user