mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-13 06:15:08 +01:00
Fix XMPP metrics reporting
The XMPP config was being reported as valid when it wasn't valid.
This commit is contained in:
parent
1ba6c2a596
commit
8225e51867
@ -316,6 +316,6 @@ public class XMPPManager extends Handler implements MessageListener, ChatManager
|
||||
|
||||
public boolean isConfigValid() {
|
||||
final String server = config.getString("xmpp.server");
|
||||
return server != null && server.equals("example.com");
|
||||
return server != null && !server.equals("example.com");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user