From 44a448412e971928dfed3810cb76eb052cec5924 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sat, 25 Jun 2011 15:17:10 +0200 Subject: Don't connect to example.com, the default value --- EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'EssentialsXMPP/src') 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; -- cgit v1.2.3