diff options
Diffstat (limited to 'plugins/SmileyAdd/dlgboxsubclass.cpp')
-rw-r--r-- | plugins/SmileyAdd/dlgboxsubclass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/dlgboxsubclass.cpp b/plugins/SmileyAdd/dlgboxsubclass.cpp index 8da22c6cb1..9e90dd3f81 100644 --- a/plugins/SmileyAdd/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/dlgboxsubclass.cpp @@ -214,7 +214,7 @@ public: }
else
{
- doSmileyReplace = true;;
+ doSmileyReplace = true;
OldButtonPlace = false;
showButtonLine = DBGetContactSettingByte(NULL, "SRMM", "ShowButtonLine", TRUE) != 0;
}
@@ -224,8 +224,8 @@ public: if (ProtocolName[0] != 0)
{
INT_PTR cap = CallProtoService(ProtocolName, PS_GETCAPS, PFLAGNUM_1, 0);
- doSmileyButton &= ((cap & PF1_IMSEND) != 0);
- doSmileyReplace &= ((cap & PF1_IMRECV) != 0);
+ doSmileyButton &= ((cap & (PF1_IMSEND | PF1_CHAT)) != 0);
+ doSmileyReplace &= ((cap & (PF1_IMRECV | PF1_CHAT)) != 0);
}
if (doSmileyButton && opt.PluginSupportEnabled)
|