Exemple #1
0
int CYahooProto::BuddyIgnored(const char *who)
{
	const YList *l = GetIgnoreList();
	while (l != NULL) {
		struct yahoo_buddy *b = (struct yahoo_buddy *) l->data;
			
		if (lstrcmpiA(b->id, who) == 0) {
			//LOG(("User '%s' on our Ignore List. Dropping Message.", who));
			return 1;
		}
		l = l->next;
	}

	return 0;
}
Exemple #2
0
int GetEngineIgnoreList(char *buff, int buff_size, int *l)
{
	return GetIgnoreList(engines_ignore_list, buff, buff_size, l);
}
Exemple #3
0
int GetOperatorIgnoreList(char *buff, int buff_size, int *l)
{
	return GetIgnoreList(operators_ignore_list, buff, buff_size, l);
}