Changeset - 097d52c8f021
[Not reviewed]
0 2 0
HanzZ - 14 years ago 2011-07-20 19:32:54
hanzz.k@gmail.com
Don't use Session after finishSession call
2 files changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
include/Swiften/Server/ServerFromClientSession.cpp
Show inline comments
 
@@ -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<AuthFailure>(new AuthFailure));
 
		finishSession(AuthenticationFailedError);
 
		onPasswordInvalid();
 
	}
 
}
 

	
include/Swiften/Server/ServerFromClientSession.h
Show inline comments
 
@@ -42,7 +42,6 @@ namespace Swift {
 
			~ServerFromClientSession();
 

	
 
			boost::signal<void ()> onSessionStarted;
 
			boost::signal<void ()> onPasswordInvalid;
 
			void setAllowSASLEXTERNAL();
 
			const std::string &getUser() {
 
				return user_;
0 comments (0 inline, 0 general)