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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user