Skip to content

Commit 67c99b7

Browse files
committed
Remove redundant code
1 parent cc6a90f commit 67c99b7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/net/clementraynaud/skoice/listeners/channel/main/GenericChannelListener.java

-3
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ private void checkForValidVoiceChannel(GenericChannelEvent event) {
115115
return;
116116
}
117117

118-
if (!(event instanceof ChannelDeleteEvent)) {
119-
event.getChannel().asVoiceChannel().modifyStatus("").queue();
120-
}
121118
this.plugin.getConfigYamlFile().remove(ConfigField.VOICE_CHANNEL_ID.toString());
122119
this.plugin.getListenerManager().update();
123120

0 commit comments

Comments
 (0)