summaryrefslogtreecommitdiff
path: root/limox.go
diff options
context:
space:
mode:
Diffstat (limited to 'limox.go')
-rw-r--r--limox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/limox.go b/limox.go
index 9b7c235..98652cb 100644
--- a/limox.go
+++ b/limox.go
@@ -86,7 +86,7 @@ func (l *Limox) buttonCallback() {
switch l.State {
case Disconnected:
log.Println("Starting connection establishment ...")
- go l.xmpp(l.JidEditor.Text(), l.PwdEditor.Text())
+ go xmpp(l.GuiEvents, l.XmppEvents, l.JidEditor.Text(), l.PwdEditor.Text())
l.State = Connecting
case Connecting:
log.Println("Aborted connection establishment")