From 335d5f2e89261cdb74c12ddb9e46d549200d3364 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 11 Jul 2008 13:11:13 -0400 Subject: [PATCH] add 'avatar' to blacklisted names darcs-hash:20080711171113-84dde-56b61d305e207bdb7d1fa844356fbc41e5bd43b9.gz --- classes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/User.php b/classes/User.php index 99aac626f8..ab550b8e1a 100644 --- a/classes/User.php +++ b/classes/User.php @@ -91,7 +91,7 @@ class User extends DB_DataObject # XXX: should already be validated for size, content, etc. static $blacklist = array('rss', 'xrds', 'doc', 'main', 'settings', 'notice', 'user', - 'search'); + 'search', 'avatar'); $merged = array_merge($blacklist, common_config('nickname', 'blacklist')); return !in_array($nickname, $merged); } -- 2.39.5