Fix accidental revert by Evan in b4da5f3785.

This commit is contained in:
Siebrand Mazeland 2012-03-11 21:46:29 +01:00
parent a4bf33d6b5
commit 855fbfa782

View File

@ -511,7 +511,7 @@ class BlacklistPlugin extends Plugin
if (!empty($nickname)) {
if (!$this->_checkNickname($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);
throw new ClientException($msg);
}