summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP/src/com/earth2me/essentials
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-06-25 15:17:10 +0200
committersnowleo <schneeleo@gmail.com>2011-06-25 15:17:10 +0200
commit0731580cc9f9d1ff5a0575e5393799f35f4d8367 (patch)
treeb860c973ed80bae4c94004dd6b7ebc39621e1211 /EssentialsXMPP/src/com/earth2me/essentials
parent8bb3a76366a701ac7283813e2c30b3ef129ddf60 (diff)
downloadEssentials-0731580cc9f9d1ff5a0575e5393799f35f4d8367.tar
Essentials-0731580cc9f9d1ff5a0575e5393799f35f4d8367.tar.gz
Essentials-0731580cc9f9d1ff5a0575e5393799f35f4d8367.tar.lz
Essentials-0731580cc9f9d1ff5a0575e5393799f35f4d8367.tar.xz
Essentials-0731580cc9f9d1ff5a0575e5393799f35f4d8367.zip
Don't connect to example.com, the default value
Diffstat (limited to 'EssentialsXMPP/src/com/earth2me/essentials')
-rw-r--r--EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java
index 537a32a5e..fb0145ee4 100644
--- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java
+++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java
@@ -94,7 +94,7 @@ public class XMPPManager extends Handler implements MessageListener, ChatManager
private void connect()
{
final String server = config.getString("xmpp.server");
- if (server == null)
+ if (server == null || server.equals("example.com"))
{
LOGGER.log(Level.WARNING, "config broken for xmpp");
return;