summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-25 12:44:35 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-25 12:44:35 +0000
commit2ea6a753f1fd2065a01627c2ac26eaa28670620f (patch)
tree1c105ce616ff2ba938649013a3699d6125763714 /protocols
parent312d34f3342ea83bf902e92b3439db6345d68098 (diff)
wrongly added if
git-svn-id: http://svn.miranda-ng.org/main/trunk@7883 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/IcqOscarJ/src/icqosc_svcs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/icqosc_svcs.cpp b/protocols/IcqOscarJ/src/icqosc_svcs.cpp
index 485e41a908..4b2003650d 100644
--- a/protocols/IcqOscarJ/src/icqosc_svcs.cpp
+++ b/protocols/IcqOscarJ/src/icqosc_svcs.cpp
@@ -361,8 +361,7 @@ INT_PTR CIcqProto::GetAvatarCaps(WPARAM wParam, LPARAM lParam)
return 1 * 60 * 60 * 1000; // one hour
// avatars can be fetched all the time (server only operation)
- if (wParam == AF_FETCHIFPROTONOTVISIBLE)
- if (wParam == AF_FETCHIFCONTACTOFFLINE)
+ if (wParam == AF_FETCHIFPROTONOTVISIBLE || wParam == AF_FETCHIFCONTACTOFFLINE)
return 1;
return 0;