blob: 1c3435988bd4bac9c65aa7750b6b0884dd3ce56c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "stdafx.h"
INT_PTR IsContactPassed(WPARAM hContact, LPARAM /*lParam*/)
{
char *szProto = Proto_GetBaseAccountName(hContact);
if (szProto == nullptr)
return CS_PASSED;
if (!g_plugin.ProtoDisabled(szProto))
return CS_PASSED;
if (g_plugin.getByte(hContact, DB_KEY_ANSWERED) || g_plugin.getByte(hContact, DB_KEY_HASSENT))
return CS_PASSED;
if (Contact::OnList(hContact))
return CS_PASSED;
return CS_NOTPASSED;
}
|