summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 71c93f9..2da180b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -36,9 +36,9 @@ int main(int ac, char** av)
}
const std::string hostname = Config::get("hostname", "");
if (password.empty())
- return config_help("hostname");
- if (hostname.empty())
return config_help("password");
+ if (hostname.empty())
+ return config_help("hostname");
std::shared_ptr<XmppComponent> xmpp_component =
std::make_shared<XmppComponent>(hostname, password);