|
@ -107,7 +107,7 @@ class Filter { |
|
|
|
|
|
|
|
|
switch($this->action) { |
|
|
switch($this->action) { |
|
|
case 'reject': |
|
|
case 'reject': |
|
|
error(isset($this->message) ? $this->message : 'Posting throttled by flood filter.'); |
|
|
error(isset($this->message) ? $this->message : 'Posting throttled 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.'); |
|
|