aboutsummaryrefslogtreecommitdiff
path: root/connector/xmpp
diff options
context:
space:
mode:
Diffstat (limited to 'connector/xmpp')
-rw-r--r--connector/xmpp/xmpp.go2
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 {