Forgot to optimize this. (#12)

This commit is contained in:
Seth 2017-12-29 11:44:36 -07:00 committed by Lemon
parent 6a09b23331
commit 7e524da928

View File

@ -31,13 +31,9 @@ public class Discord extends FreedomService
public void startBot()
{
if (!Strings.isNullOrEmpty(ConfigEntry.DISCORD_TOKEN.getString()))
enabled = !Strings.isNullOrEmpty(ConfigEntry.DISCORD_TOKEN.getString());
if (!enabled)
{
enabled = true;
}
else
{
enabled = false;
return;
}
if (bot != null)