diff --git a/include/Swiften/Server/ServerFromClientSession.cpp b/include/Swiften/Server/ServerFromClientSession.cpp index b1e7d7c9..d2062575 100644 --- a/include/Swiften/Server/ServerFromClientSession.cpp +++ b/include/Swiften/Server/ServerFromClientSession.cpp @@ -75,7 +75,6 @@ void ServerFromClientSession::handlePasswordInvalid(const std::string &user) { userRegistry_->onPasswordInvalid.disconnect(boost::bind(&ServerFromClientSession::handlePasswordInvalid, this, _1)); getXMPPLayer()->writeElement(boost::shared_ptr(new AuthFailure)); finishSession(AuthenticationFailedError); - onPasswordInvalid(); } } diff --git a/include/Swiften/Server/ServerFromClientSession.h b/include/Swiften/Server/ServerFromClientSession.h index f0a62e65..6fbe44ff 100644 --- a/include/Swiften/Server/ServerFromClientSession.h +++ b/include/Swiften/Server/ServerFromClientSession.h @@ -42,7 +42,6 @@ namespace Swift { ~ServerFromClientSession(); boost::signal onSessionStarted; - boost::signal onPasswordInvalid; void setAllowSASLEXTERNAL(); const std::string &getUser() { return user_;