summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/SASL')
-rw-r--r--Swiften/SASL/DIGESTMD5Properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/SASL/DIGESTMD5Properties.cpp b/Swiften/SASL/DIGESTMD5Properties.cpp
index d20f66e..571602b 100644
--- a/Swiften/SASL/DIGESTMD5Properties.cpp
+++ b/Swiften/SASL/DIGESTMD5Properties.cpp
@@ -17,7 +17,7 @@ namespace {
return v[0] == '"';
}
else if (v[0] == '"') {
- return !v[v.getSize() - 1] == '"';
+ return v[v.getSize() - 1] != '"';
}
else {
return false;