diff options
Diffstat (limited to 'src/modules/metacontacts/meta_api.cpp')
-rw-r--r-- | src/modules/metacontacts/meta_api.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/modules/metacontacts/meta_api.cpp b/src/modules/metacontacts/meta_api.cpp index 66760b2442..701540deae 100644 --- a/src/modules/metacontacts/meta_api.cpp +++ b/src/modules/metacontacts/meta_api.cpp @@ -177,21 +177,16 @@ INT_PTR MetaAPI_GetForceState(WPARAM wParam, LPARAM lParam) { }
MCONTACT hContact = (MCONTACT)db_get_dw(hMeta, META_PROTO, "ForceSend", 0);
- if ( !hContact) {
+ if (!hContact) {
if (lParam) *(DWORD *)lParam = -1;
- } else {
+ }
+ else {
if (lParam) *(DWORD *)lParam = (DWORD)Meta_GetContactNumber(hContact);
}
return 0;
}
-// method to get protocol name - used to be sure you're dealing with a "real" metacontacts plugin :)
-// wParam=lParam=0
-INT_PTR MetaAPI_GetProtoName(WPARAM wParam, LPARAM lParam) {
- return (INT_PTR)META_PROTO;
-}
-
// added 0.9.5.0 (22/3/05)
// wParam=(HANDLE)hContact
// lParam=0
|