aboutsummaryrefslogtreecommitdiff
path: root/xxcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xxcc.cpp')
-rw-r--r--xxcc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxcc.cpp b/xxcc.cpp
index 9001aaa..f0ed464 100644
--- a/xxcc.cpp
+++ b/xxcc.cpp
@@ -115,7 +115,7 @@ void xxcc::connectAccounts(const QList<Credentials::Pair> &pairs)
cfg.setPassword(p.second);
cfg.setAutoReconnectionEnabled(true);
- const auto client = new Client;
+ const auto client = new Client(p.first);
addAccount(client);
client->connectToServer(cfg);