Changing wording of post filtering when action is not set from throttled to blocked at user request.

This commit is contained in:
Benjamin Southall 2016-12-14 05:42:12 +09:00
parent eb43a310d8
commit d01bcf48d7

View File

@ -145,7 +145,7 @@ class Filter {
} }
if (isset ($this->action)) switch($this->action) { if (isset ($this->action)) switch($this->action) {
case 'reject': case 'reject':
error(isset($this->message) ? $this->message : 'Posting throttled by filter.'); error(isset($this->message) ? $this->message : 'Posting blocked by filter.');
case 'ban': case 'ban':
if (!isset($this->reason)) if (!isset($this->reason))
error('The ban action requires a reason.'); error('The ban action requires a reason.');