diff options
author | Chris Ward <chris@chrisgward.com> | 2013-01-23 19:41:36 +1100 |
---|---|---|
committer | Chris Ward <chris@chrisgward.com> | 2013-01-23 19:41:36 +1100 |
commit | d809e13837a5d17f5cf570297f36f94307bb529f (patch) | |
tree | 8eecc7fbd2e674a3c7d0adecb341d271f78a0781 /EssentialsXMPP/src/com/earth2me | |
parent | ad3f6318fd82baa0a71b9cd9e1579ff4e0312ea5 (diff) | |
download | Essentials-d809e13837a5d17f5cf570297f36f94307bb529f.tar Essentials-d809e13837a5d17f5cf570297f36f94307bb529f.tar.gz Essentials-d809e13837a5d17f5cf570297f36f94307bb529f.tar.lz Essentials-d809e13837a5d17f5cf570297f36f94307bb529f.tar.xz Essentials-d809e13837a5d17f5cf570297f36f94307bb529f.zip |
Add debug option to XMPP
Diffstat (limited to 'EssentialsXMPP/src/com/earth2me')
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |