public
Fork of halorgium/mephisto
Description: A refactored Mephisto that has multiple spam detection engines.
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/francois/mephisto.git
Search Repo:
The Defensio spam detection engine wasn't reading the signature, spaminess 
and spam fields from the Viking response.
francois (author)
Tue Mar 11 12:28:58 -0700 2008
commit  c43f6c9cb9626e4cec786bf81a53ca1afc9d6a44
tree    f067ab30d38f39004c8c548e91325f6f85dbd037
parent  a84173fc8547666a8a3953e4264e3c9cfaacf7d6
...
99
100
101
102
103
 
 
104
105
106
...
99
100
101
 
 
102
103
104
105
106
0
@@ -99,8 +99,8 @@ module Mephisto
0
           :trusted_user => options[:authenticated]
0
         )
0
 
0
- comment.update_attribute(:spam_engine_data, {:signature => response["signature"], :spaminess => response["spaminess"].to_f})
0
- !response["spam"]
0
+ comment.update_attribute(:spam_engine_data, {:signature => response[:signature], :spaminess => response[:spaminess].to_f})
0
+ !response[:spam]
0
       end
0
 
0
       def mark_as_ham(permalink_url, comment)

Comments

    No one has commented yet.