From 26933f378711d06846a5253f5a280c1f1704454c Mon Sep 17 00:00:00 2001 From: jacoop Date: Sat, 26 Apr 2025 23:37:23 -0500 Subject: [PATCH] Fixup 3bdae1b872c6f8730f3ffeb389cb1a98d1c52c2e --- chaturbate/channel.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chaturbate/channel.go b/chaturbate/channel.go index 7ff6784..b3ae29f 100644 --- a/chaturbate/channel.go +++ b/chaturbate/channel.go @@ -102,10 +102,10 @@ func (w *Channel) Run() { } } if strings.Contains(body, "Just a moment...") { - w.log(logTypeError, "Cloudflare anti-bot page detected, Try providing cf-cookie and user-agent (Check GitHub for instructions)... Exiting") + w.log(LogTypeError, "Cloudflare anti-bot page detected, Try providing cf-cookie and user-agent (Check GitHub for instructions)... Exiting") os.Exit(1) } - w.log(logTypeInfo, "channel is offline, check again %d min(s) later", w.Interval) + w.log(LogTypeInfo, "channel is offline, check again %d min(s) later", w.Interval) <-time.After(time.Duration(w.Interval) * time.Minute) // minutes cooldown to check online status } }