From d809e13837a5d17f5cf570297f36f94307bb529f Mon Sep 17 00:00:00 2001 From: Chris Ward Date: Wed, 23 Jan 2013 19:41:36 +1100 Subject: Add debug option to XMPP --- EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'EssentialsXMPP/src/com') diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java index 582c8cbef..ffe651d5b 100644 --- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java +++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java @@ -119,6 +119,7 @@ public class XMPPManager extends Handler implements MessageListener, ChatManager connConf.setSASLAuthenticationEnabled(config.getBoolean("xmpp.sasl-enabled", false)); connConf.setSendPresence(true); connConf.setReconnectionAllowed(true); + connConf.setDebuggerEnabled(config.getBoolean("debug", false)); connection = new XMPPConnection(connConf); try { -- cgit v1.2.3