1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-16 19:44:15 +02:00

Don't connect to example.com, the default value

This commit is contained in:
snowleo
2011-06-25 15:17:10 +02:00
parent 054343875b
commit 44a448412e

View File

@@ -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;