summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-07-09 18:58:01 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-07-09 18:58:01 +0000
commit240a208e4d698487f677f7b04c75340aeff567fb (patch)
treefac3141ffd7fc2e2633b96ddb52ccf3048e4cc57
parent609fdcde4e2b15c42c1cda0d8fc76d2eafeca35a (diff)
stopspam:
added MessageBox on manual removing of temp contacts git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@141 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r--stopspam/src/services.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/stopspam/src/services.cpp b/stopspam/src/services.cpp
index 2ea6bc5..60f9ebf 100644
--- a/stopspam/src/services.cpp
+++ b/stopspam/src/services.cpp
@@ -67,7 +67,9 @@ INT_PTR RemoveTempContacts(WPARAM wParam,LPARAM lParam)
}
hGroup++;
}
- while( group_name );
+ while( group_name );
+ if (!lParam)
+ MessageBox(NULL, TranslateT("Done."), TranslateT(pluginName), MB_ICONINFORMATION);
return 0;
}
@@ -75,6 +77,6 @@ INT_PTR RemoveTempContacts(WPARAM wParam,LPARAM lParam)
int OnSystemModulesLoaded(WPARAM wParam, LPARAM lParam)
{
if (plSets->RemTmpAll.Get())
- RemoveTempContacts(0,0);
+ RemoveTempContacts(0,1);
return 0;
}