diff options
Diffstat (limited to 'utilities.cpp')
-rw-r--r-- | utilities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities.cpp b/utilities.cpp index d181c8b..6988fed 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -491,7 +491,7 @@ void AddHandlers() bool isContactSecured(HANDLE hContact) { TCHAR *key = UniGetContactSettingUtf(hContact, szGPGModuleName, "GPGPubKey", _T("")); - if(DBGetContactSettingByte(hContact, szGPGModuleName, "GPGEncryption", 0) && (_tcslen(key) > 1)) + if(DBGetContactSettingByte(hContact, szGPGModuleName, "GPGEncryption", 0) && (_tcslen(key) > 0)) { mir_free(key); return true; |