diff options
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp index 954e9191c4..f7b4b62731 100644 --- a/plugins/Dropbox/src/dropbox.cpp +++ b/plugins/Dropbox/src/dropbox.cpp @@ -62,7 +62,8 @@ MCONTACT CDropbox::GetDefaultContact() bool CDropbox::HasAccessToken()
{
- return db_get_sa(NULL, MODULE, "TokenSecret") != NULL;
+ ptrA token(db_get_sa(NULL, MODULE, "TokenSecret"));
+ return token != NULL;
}
void CDropbox::RequestAccountInfo(void *p)
|