summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/MyDetails/src/data.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp
index 7dc3831348..5b80f138ef 100644
--- a/plugins/MyDetails/src/data.cpp
+++ b/plugins/MyDetails/src/data.cpp
@@ -74,8 +74,11 @@ Protocol::Protocol(const char *aName, const TCHAR* descr)
// Load services
int caps = CallProtoService(name, PS_GETCAPS, PFLAGNUM_1, 0);
- valid = (caps & PF1_IM) == PF1_IM && strcmp(aName, "MetaContacts");
- if ( !valid)
+ if ((caps & PF1_IM) && !(!strcmp(aName, "MetaContacts") || !strcmp(aName, "NewsAggr")))
+ valid = true;
+ else
+ valid = false;
+ if (!valid)
return;
can_have_listening_to = (ProtoServiceExists(name, PS_SET_LISTENINGTO) != 0);