diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-11 13:11:13 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-11 13:11:13 -0400 |
commit | 335d5f2e89261cdb74c12ddb9e46d549200d3364 (patch) | |
tree | 322ef12a4db08aa964f044ce169fdda632d06f8e /classes/User.php | |
parent | 69445a6179eaf8d9473b21d13a0fda9827c28bd4 (diff) |
add 'avatar' to blacklisted names
darcs-hash:20080711171113-84dde-56b61d305e207bdb7d1fa844356fbc41e5bd43b9.gz
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php index 99aac626f..ab550b8e1 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); } |