Skip to content

Commit

Permalink
Fix logical error in watchdog checks
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Jan 30, 2024
1 parent 91649cc commit f66075a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neon_nodes/voice_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def watchdog(self):
if not self._voice_thread.is_alive():
self.error_hook("11")
raise RuntimeError("Voice Thread not alive")
if self._voice_loop._is_running:
if not self._voice_loop._is_running:
self.error_hook("12")
raise RuntimeError("Voice Loop not running")
except KeyboardInterrupt:
Expand Down

0 comments on commit f66075a

Please sign in to comment.