summaryrefslogtreecommitdiff
path: root/metacontacts/meta_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'metacontacts/meta_main.c')
-rw-r--r--metacontacts/meta_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/metacontacts/meta_main.c b/metacontacts/meta_main.c
index 7554992..2e302c3 100644
--- a/metacontacts/meta_main.c
+++ b/metacontacts/meta_main.c
@@ -187,7 +187,7 @@ int __declspec(dllexport)Load(PLUGINLINK *link)
//proto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
if(!DBGetContactSetting(hContact, "Protocol", "p", &dbv)) {
proto = dbv.pszVal;
- if (proto && !lstrcmp( META_PROTO, proto)) {
+ if (proto && !strcmp( META_PROTO, proto)) {
DBWriteContactSettingWord(hContact, META_PROTO, "Status", ID_STATUS_OFFLINE);
DBWriteContactSettingDword(hContact, META_PROTO, "IdleTS", 0);
DBWriteContactSettingByte(hContact, META_PROTO, "ContactCountCheck", 0);