From 6a047f87229c277b72a1a54b18dc39abe1dbdca4 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 26 Jan 2018 21:54:09 +0100 Subject: Print only debug messages when specified (xmpp). Closes #345 --- bridge/xmpp/xmpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/xmpp') diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 0ad7699c..63a1048e 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -110,7 +110,7 @@ func (b *Bxmpp) createXMPP() (*xmpp.Client, error) { TLSConfig: tc, //StartTLS: false, - Debug: true, + Debug: b.General.Debug, Session: true, Status: "", StatusMessage: "", -- cgit v1.2.3