summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-22 14:05:06 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-22 14:05:06 (GMT)
commit8919370f7d0089864df8e70a8dea8dc48bfa5421 (patch)
tree6ad10e4396ccd6ea4b108d5c9d4bb78693fd255b /Swiften
parent24e76ba18ad219865c16ca17ad14297346cf5f6a (diff)
downloadswift-contrib-8919370f7d0089864df8e70a8dea8dc48bfa5421.zip
swift-contrib-8919370f7d0089864df8e70a8dea8dc48bfa5421.tar.bz2
Removing unnecessary purgePassword() calls in CoreClient.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Client/CoreClient.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Swiften/Client/CoreClient.cpp b/Swiften/Client/CoreClient.cpp
index 8684de2..9907f5d 100644
--- a/Swiften/Client/CoreClient.cpp
+++ b/Swiften/Client/CoreClient.cpp
@@ -51,7 +51,6 @@ CoreClient::~CoreClient() {
stanzaChannel_->onPresenceReceived.disconnect(boost::bind(&CoreClient::handlePresenceReceived, this, _1));
stanzaChannel_->onStanzaAcked.disconnect(boost::bind(&CoreClient::handleStanzaAcked, this, _1));
delete stanzaChannel_;
- purgePassword();
}
void CoreClient::connect(const ClientOptions& o) {
@@ -126,9 +125,6 @@ void CoreClient::handleConnectorFinished(boost::shared_ptr<Connection> connectio
}
void CoreClient::disconnect() {
- if (options.forgetPassword) {
- purgePassword();
- }
// FIXME: We should be able to do without this boolean. We just have to make sure we can tell the difference between
// connector finishing without a connection due to an error or because of a disconnect.
disconnectRequested_ = true;