diff --git a/modules/webhook.go b/modules/webhook.go index 2be9abf..acc4117 100644 --- a/modules/webhook.go +++ b/modules/webhook.go @@ -25,7 +25,7 @@ func init() { } func webhookRun() { - scanner := bufio.NewScanner(*webhook_token) + scanner := bufio.NewScanner(*webhookToken) for scanner.Scan() { tok := strings.Split(scanner.Text(), " ") http.HandleFunc("/webhook/"+tok[0], webhookHandleHTTP)