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...
This commit is contained in:
parent
1e8e1e836d
commit
a6afc1cfd6
|
@ -120,7 +120,7 @@ class BlogspamNetPlugin extends Plugin
|
||||||
$args['site'] = common_root_url();
|
$args['site'] = common_root_url();
|
||||||
$args['version'] = $this->userAgent();
|
$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;
|
return $args;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user