diff options
Diffstat (limited to 'plugins/SmileyAdd/src/services.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/services.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index 904da99971..a06f5468ba 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -49,7 +49,13 @@ SmileyPackType* GetSmileyPack(const char* proto, MCONTACT hContact, SmileyPackCT categoryName = dbv.ptszVal;
db_free(&dbv);
}
- else categoryName = A2T_SM(protonam);
+ else if (opt.UsePhysProto && db_get_ts(NULL, protonam, "AM_BaseProto", &dbv) == 0){
+ categoryName = _T("AllProto");
+ categoryName += dbv.ptszVal;
+ db_free(&dbv);
+ }
+ else
+ categoryName = A2T_SM(protonam);
}
}
}
|