summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Client/ClientSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Client/ClientSession.cpp b/Swiften/Client/ClientSession.cpp
index 88b3d5a..2c130c3 100644
--- a/Swiften/Client/ClientSession.cpp
+++ b/Swiften/Client/ClientSession.cpp
@@ -255,7 +255,7 @@ void ClientSession::sendSessionStart() {
}
bool ClientSession::checkState(State state) {
- if (state != state) {
+ if (this->state != state) {
finishSession(Error::UnexpectedElementError);
return false;
}