diff options
Diffstat (limited to 'plugins/KeyboardNotify/src/main.cpp')
| -rw-r--r-- | plugins/KeyboardNotify/src/main.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp index 16f00fbdc9..fa49ad2906 100644 --- a/plugins/KeyboardNotify/src/main.cpp +++ b/plugins/KeyboardNotify/src/main.cpp @@ -247,7 +247,7 @@ BOOL metaCheckProtocol(char *szProto, MCONTACT hContact, WORD eventType)  	MCONTACT hSubContact=NULL;
  	if (bMetaProtoEnabled && szProto && !strcmp(META_PROTO, szProto))
 -		if (hSubContact = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0))
 +		if (hSubContact = db_mc_getMostOnline(hContact))
  			szProto = GetContactProto(hSubContact);
  	return checkProtocol(szProto) && checkIgnore(hSubContact?hSubContact:hContact, eventType);
  | 
