From 58f50c754489d9712ce0dd6ba0361fc4b4ac9985 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Tue, 22 Jan 2013 09:28:26 +0100 Subject: [PATCH] better error message for server mode --- src/userregistry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/userregistry.cpp b/src/userregistry.cpp index 2b7e358c..c6cbdf32 100644 --- a/src/userregistry.cpp +++ b/src/userregistry.cpp @@ -98,7 +98,7 @@ void UserRegistry::onPasswordValid(const Swift::JID &user) { void UserRegistry::onPasswordInvalid(const Swift::JID &user, const std::string &error) { std::string key = user.toBare().toString(); if (users.find(key) != users.end()) { - LOG4CXX_INFO(logger, key << ": Password is invalid"); + LOG4CXX_INFO(logger, key << ": Password is invalid or there was an error when connecting the legacy network"); users[key].session->handlePasswordInvalid(error); users.erase(key); }