summaryrefslogtreecommitdiffstats
path: root/Sluift
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift')
-rw-r--r--Sluift/sluift.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Sluift/sluift.cpp b/Sluift/sluift.cpp
index 85b35f9..8076f5a 100644
--- a/Sluift/sluift.cpp
+++ b/Sluift/sluift.cpp
@@ -73,7 +73,8 @@ class SluiftClient {
void connect(const std::string& host) {
rosterReceived = false;
- client->connect(host);
+ options.manualHostname = host;
+ client->connect(options);
}
void waitConnected() {