diff --git a/internal/discord/activity.go b/internal/discord/activity.go index afa6c8d..62329f3 100644 --- a/internal/discord/activity.go +++ b/internal/discord/activity.go @@ -128,7 +128,7 @@ func stopActivityTimer(uid string) { timerMutex.Lock() defer timerMutex.Unlock() - if _, ok := activityTimers[uid]; !ok { + if _, ok := activityTimers[uid]; ok { activityTimers[uid].Cancel() delete(activityTimers, uid) }