From facc375e8cf41f87f6b90fe5117754e2b639ce83 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 26 Feb 2020 16:32:58 +0100 Subject: Whoops & refactor --- connector/xmpp/xmpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connector') diff --git a/connector/xmpp/xmpp.go b/connector/xmpp/xmpp.go index 727c4d8..1215a66 100644 --- a/connector/xmpp/xmpp.go +++ b/connector/xmpp/xmpp.go @@ -82,7 +82,7 @@ func (xm *XMPP) Configure(c Configuration) error { } xm.jid_localpart = jid_parts[0] - xm.nickname = c.GetString("nickname", xm.jid_locakpart) + xm.nickname, _ = c.GetString("nickname", xm.jid_localpart) xm.password, err = c.GetString("password") if err != nil { -- cgit v1.2.3