summaryrefslogtreecommitdiff
path: root/src/core/stduseronline
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-29 18:35:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-29 18:35:41 +0300
commitc53dda67ae4a614b836412af5eb763d56dc1f763 (patch)
tree00b063cbf2b88ecfe30c096fbe766eb98e8874c0 /src/core/stduseronline
parent7f51e11dbf2276d80b80798eabf3a44e91ade8c3 (diff)
AvatarHistory: code cleaning + handle leak fix
Diffstat (limited to 'src/core/stduseronline')
-rw-r--r--src/core/stduseronline/src/useronline.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/stduseronline/src/useronline.cpp b/src/core/stduseronline/src/useronline.cpp
index f73b51d4a1..3ac251408d 100644
--- a/src/core/stduseronline/src/useronline.cpp
+++ b/src/core/stduseronline/src/useronline.cpp
@@ -26,11 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static int uniqueEventId = 0;
-static bool Proto_IsAccountEnabled(PROTOACCOUNT *pa)
-{
- return pa && ((pa->bIsEnabled && !pa->bDynDisabled) || pa->bOldProto);
-}
-
static int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam)
{
DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam;