Fix accidental revert by Evan in b4da5f3785
.
This commit is contained in:
parent
a4bf33d6b5
commit
855fbfa782
@ -511,7 +511,7 @@ class BlacklistPlugin extends Plugin
|
|||||||
if (!empty($nickname)) {
|
if (!empty($nickname)) {
|
||||||
if (!$this->_checkNickname($nickname)) {
|
if (!$this->_checkNickname($nickname)) {
|
||||||
// TRANS: Exception thrown trying to post a notice while having a blocked nickname. %s is the blocked nickname.
|
// TRANS: Exception thrown trying to post a notice while having a blocked nickname. %s is the blocked nickname.
|
||||||
$msg = sprintf(_m("Notices from nickname \"%s\" disallowed."),
|
$msg = sprintf(_m("Notices from nickname \"%s\" are disallowed."),
|
||||||
$nickname);
|
$nickname);
|
||||||
throw new ClientException($msg);
|
throw new ClientException($msg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user