summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-07-24 00:41:54 +0200
committersnowleo <schneeleo@gmail.com>2011-07-24 00:41:54 +0200
commitb84785cc82af36461c6fef6f81a611d3c5e09a43 (patch)
treee1763c170d62c65f321bbb1e79fbe8bfa72ce120
parent164541794e194f93f4ff53a14f42a0dbd1a70760 (diff)
downloadEssentials-b84785cc82af36461c6fef6f81a611d3c5e09a43.tar
Essentials-b84785cc82af36461c6fef6f81a611d3c5e09a43.tar.gz
Essentials-b84785cc82af36461c6fef6f81a611d3c5e09a43.tar.lz
Essentials-b84785cc82af36461c6fef6f81a611d3c5e09a43.tar.xz
Essentials-b84785cc82af36461c6fef6f81a611d3c5e09a43.zip
If add-prefix-suffix is not set in config and EssentialsChat is installed, it will default to true now for backwards compatibility.
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java
index 63e017bf5..1700dec3a 100644
--- a/Essentials/src/com/earth2me/essentials/Settings.java
+++ b/Essentials/src/com/earth2me/essentials/Settings.java
@@ -471,6 +471,6 @@ public class Settings implements ISettings
public boolean addPrefixSuffix()
{
- return config.getBoolean("add-prefix-suffix", false);
+ return config.getBoolean("add-prefix-suffix", ess.getServer().getPluginManager().isPluginEnabled("EssentialsChat"));
}
}