summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorromangraef <roman.graef@gmail.com>2018-02-08 20:20:09 +0100
committerromangraef <roman.graef@gmail.com>2018-02-08 20:20:09 +0100
commit3ab93b272a8f9c47f162331351526e9e8378cce1 (patch)
treecbb7a9f4b345eb9c2fc8c52750825f70120947a9 /src
parent0f29a5d757e85f4f0b0a9f0d729abc7c4574fc9a (diff)
downloadprivateroombot-3ab93b272a8f9c47f162331351526e9e8378cce1.tar.gz
privateroombot-3ab93b272a8f9c47f162331351526e9e8378cce1.tar.bz2
privateroombot-3ab93b272a8f9c47f162331351526e9e8378cce1.zip
super calls
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java b/src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java
index 5f55beb..e6401e2 100644
--- a/src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java
+++ b/src/main/java/de/romjaki/privateroombot/VoiceChannelJoinListener.java
@@ -15,7 +15,6 @@ import static de.romjaki.privateroombot.Config.CONFIG;
public class VoiceChannelJoinListener extends ListenerAdapter {
@Override
public void onGuildVoiceJoin(GuildVoiceJoinEvent event) {
- super.onGuildVoiceJoin(event);
if (!event.getChannelJoined().getId().equals(CONFIG.from_channel_id)) {
return;
}
@@ -29,7 +28,6 @@ public class VoiceChannelJoinListener extends ListenerAdapter {
@Override
public void onGuildVoiceMove(GuildVoiceMoveEvent event) {
- super.onGuildVoiceMove(event);
VoiceChannelJoinListener.this.onGuildVoiceLeave(
new GuildVoiceLeaveEvent(
event.getJDA(),
@@ -42,7 +40,6 @@ public class VoiceChannelJoinListener extends ListenerAdapter {
@Override
public void onGuildVoiceLeave(GuildVoiceLeaveEvent event) {
- super.onGuildVoiceLeave(event);
if (!event.getChannelLeft().getParent().getId().equals(CONFIG.category_id)) {
return;
}