aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorMatt Kohls <mattkohls13@gmail.com>2018-07-06 21:43:41 -0400
committerMatt Kohls <mattkohls13@gmail.com>2018-07-06 21:43:41 -0400
commitd6aa077b1eda1ea5694dde0250b8b5fd21f114dd (patch)
treefeba9798b9a2724adc204b109d961ca387cce387 /src/main/java
parent296d1b7c87c5497425f6b46070f46bf4caa22ad1 (diff)
downloadSoundChan-d6aa077b1eda1ea5694dde0250b8b5fd21f114dd.tar.gz
SoundChan-d6aa077b1eda1ea5694dde0250b8b5fd21f114dd.tar.bz2
SoundChan-d6aa077b1eda1ea5694dde0250b8b5fd21f114dd.zip
Cleaning things up a bit
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/soundchan/BotListener/BotListener.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/soundchan/BotListener/BotListener.java b/src/main/java/soundchan/BotListener/BotListener.java
index 7a65f78..b54edbe 100644
--- a/src/main/java/soundchan/BotListener/BotListener.java
+++ b/src/main/java/soundchan/BotListener/BotListener.java
@@ -54,8 +54,7 @@ public class BotListener extends ListenerAdapter{
private void loadProperties(Properties properties) {
localFilePath = properties.getProperty("localFilePath");
followingUser = properties.getProperty("followingUser");
- String temp = properties.getProperty("audioOnUserJoin");
- audioOnUserJoin = settingEnableCheck(temp);
+ audioOnUserJoin = settingEnableCheck(properties.getProperty("audioOnUserJoin"));
if(audioOnUserJoin) {
localManager = new LocalAudioManager(localFilePath, properties.getProperty("userAudioFilePath"));
}