started Kick support
This commit is contained in:
+2
-2
@@ -126,7 +126,7 @@ func oc_process_message(rawmsg map[string]interface{}) {
|
||||
func owncast_run(config map[string]interface{}) {
|
||||
token_path := "auth/oc-token.txt"
|
||||
token, err := ioutil.ReadFile(token_path)
|
||||
token_err_msg := "No Owncast token file provided or it is empty. "
|
||||
token_err_msg := "[owncast] No Owncast token file provided or it is empty. "
|
||||
token_err_msg += "Please generate a token in your Owncast admin panel "
|
||||
token_err_msg += "and paste it into the auth/oc-token.txt file!"
|
||||
if err != nil {
|
||||
@@ -146,7 +146,7 @@ func owncast_run(config map[string]interface{}) {
|
||||
if _, ok := config["oc_server"]; ok {
|
||||
OC_API_ROOT = config["oc_server"].(string)
|
||||
} else {
|
||||
log.Fatal("Owncast server missing in config!")
|
||||
log.Fatal("[owncast] Owncast server missing in config!")
|
||||
}
|
||||
|
||||
if _, ok := config["oc_api_poll_timeout"]; ok {
|
||||
|
||||
Reference in New Issue
Block a user