summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorChristopher Vollick <psycotica0@gmail.com>2010-02-22 11:20:44 -0500
committerChristopher Vollick <psycotica0@gmail.com>2010-02-22 11:20:44 -0500
commita6afc1cfd6e99d83322910d4c1dafb16b1c4ae90 (patch)
treeeeab30801ae23f96980c153624f3712f5fbaafd5 /plugins
parent1e8e1e836d53b357eb1ddd538c0ceb4d8b289f59 (diff)
Made Blogspam Plugin Respect textlimit Setting.
The Blogspam plugin was setting a max-size to 140. It was therefore rejecting posts with more characters as spam. This kind of defeated the purpose of setting a higher limit...
Diffstat (limited to 'plugins')
-rw-r--r--plugins/BlogspamNetPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BlogspamNetPlugin.php b/plugins/BlogspamNetPlugin.php
index 9b7ed1c12..d52e6006a 100644
--- a/plugins/BlogspamNetPlugin.php
+++ b/plugins/BlogspamNetPlugin.php
@@ -120,7 +120,7 @@ class BlogspamNetPlugin extends Plugin
$args['site'] = common_root_url();
$args['version'] = $this->userAgent();
- $args['options'] = "max-size=140,min-size=0,min-words=0,exclude=bayasian";
+ $args['options'] = "max-size=" . common_config('site','textlimit') . ",min-size=0,min-words=0,exclude=bayasian";
return $args;
}