diff options
Diffstat (limited to 'EssentialsXMPP/src')
-rw-r--r-- | EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java | 1 | ||||
-rw-r--r-- | EssentialsXMPP/src/config.yml | 2 |
2 files changed, 3 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 { diff --git a/EssentialsXMPP/src/config.yml b/EssentialsXMPP/src/config.yml index 82e2887aa..64b9a539f 100644 --- a/EssentialsXMPP/src/config.yml +++ b/EssentialsXMPP/src/config.yml @@ -6,6 +6,8 @@ xmpp: # port: 5222 # sasl-enabled: false +debug: false + op-users: # - 'name@example.com' |