diff options
Diffstat (limited to 'plugins/SmileyAdd/src/general.cpp')
| -rw-r--r-- | plugins/SmileyAdd/src/general.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp index 68f849dc23..403d196cfb 100644 --- a/plugins/SmileyAdd/src/general.cpp +++ b/plugins/SmileyAdd/src/general.cpp @@ -223,8 +223,7 @@ MCONTACT DecodeMetaContact(MCONTACT hContact)  bool IsSmileyProto(char* proto)
  {
 -	return proto && (!metaProtoName || strcmp(proto, metaProtoName)) &&
 -		(CallProtoService(proto, PS_GETCAPS, PFLAGNUM_1, 0) & (PF1_IM | PF1_CHAT));
 +	return proto && strcmp(proto, META_PROTO) && (CallProtoService(proto, PS_GETCAPS, PFLAGNUM_1, 0) & (PF1_IM | PF1_CHAT));
  }
  void ReportError(const TCHAR* errmsg)
  | 
