Skip to content

Commit

Permalink
invert logic in voice update handler
Browse files Browse the repository at this point in the history
  • Loading branch information
lost-illusi0n committed Oct 11, 2021
1 parent 82760f4 commit 47ebd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voice/src/main/kotlin/handlers/VoiceUpdateEventHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ internal class VoiceUpdateEventHandler(
}

private fun VoiceServerUpdate.isRelatedToConnection(connection: VoiceConnection): Boolean {
return voiceServerUpdateData.guildId != connection.data.guildId
return voiceServerUpdateData.guildId == connection.data.guildId
}

0 comments on commit 47ebd69

Please sign in to comment.