diff options
-rw-r--r-- | plugins/Quotes/src/QuoteInfoDlg.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Quotes/src/QuoteInfoDlg.cpp b/plugins/Quotes/src/QuoteInfoDlg.cpp index e72c2043c2..17c0eea0ec 100644 --- a/plugins/Quotes/src/QuoteInfoDlg.cpp +++ b/plugins/Quotes/src/QuoteInfoDlg.cpp @@ -247,9 +247,11 @@ int Quotes_PrebuildContactMenu(WPARAM wp, LPARAM) MCONTACT hContact = MCONTACT(wp);
if (NULL == hContact)
- {
return 0;
- }
+
+ char *szProto = GetContactProto(hContact);
+ if (mir_strcmp(szProto, QUOTES_MODULE_NAME))
+ return 0;
Menu_EnableItem(g_hMenuEditSettings, true);
|