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 committed by -
parent d25d6ee8b8
commit 32007237f6

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.');