diff options
author | snowleo <schneeleo@gmail.com> | 2011-06-25 15:17:10 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-06-25 15:17:10 +0200 |
commit | 0731580cc9f9d1ff5a0575e5393799f35f4d8367 (patch) | |
tree | b860c973ed80bae4c94004dd6b7ebc39621e1211 /EssentialsXMPP | |
parent | 8bb3a76366a701ac7283813e2c30b3ef129ddf60 (diff) | |
download | Essentials-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')
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java | 2 |
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; |