diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-23 21:49:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-23 21:49:24 +0300 |
commit | 86044ff725361e319a9bb41bf87ca1c7d365864b (patch) | |
tree | 5e142271006f1fe4cf163fed1b29a98e624fcdb0 /plugins/BuddyPounce/src/main.cpp | |
parent | cc7ce9ae393ea6a72ce2f9af5a4ce6db85079d89 (diff) |
code cleaning
Diffstat (limited to 'plugins/BuddyPounce/src/main.cpp')
-rw-r--r-- | plugins/BuddyPounce/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BuddyPounce/src/main.cpp b/plugins/BuddyPounce/src/main.cpp index 19a9b86bbd..1e83f43d36 100644 --- a/plugins/BuddyPounce/src/main.cpp +++ b/plugins/BuddyPounce/src/main.cpp @@ -130,7 +130,7 @@ int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam) int newStatus = cws->value.wVal;
int oldStatus = db_get_w(hContact, "UserOnline", "OldStatus", ID_STATUS_OFFLINE);
- if (newStatus != oldStatus && hContact != NULL && newStatus != ID_STATUS_OFFLINE) {
+ if (newStatus != oldStatus && newStatus != ID_STATUS_OFFLINE) {
DBVARIANT dbv;
if (!g_plugin.getWString(hContact, "PounceMsg", &dbv) && (dbv.pwszVal[0] != '\0')) {
// check my status
|