diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-26 16:32:58 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-26 16:32:58 +0100 |
commit | facc375e8cf41f87f6b90fe5117754e2b639ce83 (patch) | |
tree | b4abf3e396e6f9ad37c6bfaca412028f2376f964 /connector/xmpp | |
parent | f3f1b8d981d818b38713fe84deb206720b0fcb10 (diff) | |
download | easybridge-facc375e8cf41f87f6b90fe5117754e2b639ce83.tar.gz easybridge-facc375e8cf41f87f6b90fe5117754e2b639ce83.zip |
Whoops & refactor
Diffstat (limited to 'connector/xmpp')
-rw-r--r-- | connector/xmpp/xmpp.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |