docs(config): Fix incorrect function name in comment.
This commit is contained in:
parent
fa9318812d
commit
be2c17662d
@ -12,6 +12,7 @@ type Server struct {
|
||||
url string
|
||||
username string
|
||||
token string
|
||||
primary bool
|
||||
}
|
||||
|
||||
// Configuration holds data retrieved from a Lua script.
|
||||
@ -19,7 +20,7 @@ type Configuration struct {
|
||||
servers map[string]*Server
|
||||
}
|
||||
|
||||
// parseText parses a text value from the configuration file.
|
||||
// getStringFromTable parses a text value from the configuration file.
|
||||
func getStringFromTable(L *lua.LState, lobj lua.LValue, key string, out *string) error {
|
||||
lv := L.GetTable(lobj, lua.LString(key))
|
||||
if text, ok := lv.(lua.LString); ok {
|
||||
|
Loading…
Reference in New Issue
Block a user