summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP/src/com/earth2me/essentials
diff options
context:
space:
mode:
authorChris Ward <chris@chrisgward.com>2013-01-23 19:41:36 +1100
committerChris Ward <chris@chrisgward.com>2013-01-23 19:41:36 +1100
commit2361b9e72474867bb4c27944e20f040f304e40e0 (patch)
tree66d9bc3db58ec862d196217ecca1ad6799c61ebc /EssentialsXMPP/src/com/earth2me/essentials
parent972d831d0db14448ba94c43607f96e3a51ceb36b (diff)
downloadEssentials-2361b9e72474867bb4c27944e20f040f304e40e0.tar
Essentials-2361b9e72474867bb4c27944e20f040f304e40e0.tar.gz
Essentials-2361b9e72474867bb4c27944e20f040f304e40e0.tar.lz
Essentials-2361b9e72474867bb4c27944e20f040f304e40e0.tar.xz
Essentials-2361b9e72474867bb4c27944e20f040f304e40e0.zip
Add debug option to XMPP
Diffstat (limited to 'EssentialsXMPP/src/com/earth2me/essentials')
-rw-r--r--EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java1
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
{