diff options
Diffstat (limited to 'plugins/CloudFile/src/Services/dropbox_service.cpp')
-rw-r--r-- | plugins/CloudFile/src/Services/dropbox_service.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp index 26c0ff6af3..1feeddce47 100644 --- a/plugins/CloudFile/src/Services/dropbox_service.cpp +++ b/plugins/CloudFile/src/Services/dropbox_service.cpp @@ -24,7 +24,9 @@ HANDLE CDropboxService::GetIcon() const bool CDropboxService::IsLoggedIn() { ptrA token(db_get_sa(NULL, GetModule(), "TokenSecret")); - return token != NULL; + if (!token || token[0] == 0) + return false; + return true; } void CDropboxService::Login() |