fixed spacing to please StyleCI

This commit is contained in:
Steven Andrés 2020-05-08 11:37:21 -07:00 committed by GitHub
parent 8fbdb69d8a
commit effe6ad3e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,11 +209,11 @@ class Controller
if (!in_array($_SERVER[$httpHeader], $whitelist)) { if (!in_array($_SERVER[$httpHeader], $whitelist)) {
$this->_return_message(1, I18n::_('Your IP is not authorized to create pastes.')); $this->_return_message(1, I18n::_('Your IP is not authorized to create pastes.'));
return; return;
} }
} }
} }
} }
// Ensure last paste from visitors IP address was more than configured amount of seconds ago. // Ensure last paste from visitors IP address was more than configured amount of seconds ago.
TrafficLimiter::setConfiguration($this->_conf); TrafficLimiter::setConfiguration($this->_conf);
if (!TrafficLimiter::canPass()) { if (!TrafficLimiter::canPass()) {