summaryrefslogtreecommitdiff
path: root/stopspam_mod
diff options
context:
space:
mode:
author(no author) <(no author)@63852ff1-2cfd-40b9-8011-e561a9d89b1c>2008-12-03 11:48:19 +0000
committer(no author) <(no author)@63852ff1-2cfd-40b9-8011-e561a9d89b1c>2008-12-03 11:48:19 +0000
commit400d88da03c7f117fc5cbbb58b2d86da37cd90a4 (patch)
treef382067e0b61001cf0858d8f0458371a448ffd79 /stopspam_mod
parent62a74c235e863104364994183bdc20ef6d5dda5d (diff)
this will be better
git-svn-id: http://172.18.13.13/svn/mim_plugs@3 63852ff1-2cfd-40b9-8011-e561a9d89b1c
Diffstat (limited to 'stopspam_mod')
-rw-r--r--stopspam_mod/trunk/BUGS.txt1
-rw-r--r--stopspam_mod/trunk/stopspam.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/stopspam_mod/trunk/BUGS.txt b/stopspam_mod/trunk/BUGS.txt
new file mode 100644
index 0000000..d17bd4a
--- /dev/null
+++ b/stopspam_mod/trunk/BUGS.txt
@@ -0,0 +1 @@
+do not turn on this plugin on first login of your account, it can mark all your contacts as spammers. \ No newline at end of file
diff --git a/stopspam_mod/trunk/stopspam.cpp b/stopspam_mod/trunk/stopspam.cpp
index 04666da..100fb28 100644
--- a/stopspam_mod/trunk/stopspam.cpp
+++ b/stopspam_mod/trunk/stopspam.cpp
@@ -110,8 +110,7 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_FILTER_ADD, w, l)
return 0;
}
// if message is from known or marked Answered contact
- else if(!DBGetContactSettingByte(hContact, "CList", "NotOnList", 0) ||
- DBGetContactSettingWord(hContact, dbei->szModule, "ServerId", 0)) //fix for icq
+ else if(!DBGetContactSettingByte(hContact, "CList", "NotOnList", 0))
// ...let the event go its way
return 0;
// if message is corrupted or empty it cannot be an answer.