diff options
author | Sergey (Elzor) Bolhovskoy <elzor@foobar2000.ru> | 2010-04-10 11:46:32 +0600 |
---|---|---|
committer | Sergey (Elzor) Bolhovskoy <elzor@foobar2000.ru> | 2010-04-10 11:46:32 +0600 |
commit | e0d46b417c56390271eac7df0d1cbd3d7516d6fb (patch) | |
tree | e4a04215ee0d24bf82f8318af46808d8282deabe | |
parent | 3556a322f43327213a4331ceb2a8cd0b1981742f (diff) | |
parent | 1ae39fd58a92c1d19b2991ecf53d617794949b2b (diff) |
Merge branch 'stopspam_mod' into stopspam_mod_elzor
-rw-r--r-- | stopspam.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stopspam.cpp b/stopspam.cpp index f029665..c4a3df7 100644 --- a/stopspam.cpp +++ b/stopspam.cpp @@ -55,7 +55,10 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_ADDED, wParam, lParam) DBWriteContactSettingTString(hcntct, "CList", "Group", gbSpammersGroup.c_str()); if(gbIgnoreURL) if(Stristr(EventText, _T("http")) || Stristr(EventText, _T("www")) || Stristr(EventText, _T(".ru")) || Stristr(EventText, _T(".com")) || Stristr(EventText, _T(".de")) || Stristr(EventText, _T(".cz")) || Stristr(EventText, _T(".org")) || Stristr(EventText, _T(".net")) || Stristr(EventText, _T(".su"))) + { + mir_free(EventText); return 1; + } BYTE msg = 1; if(gbInvisDisable) { |