summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 18:31:44 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 18:31:44 -0400
commit62747030ca454bd059482662be914c8ac907d193 (patch)
tree72ad01b8945df8fd40c72fa67a1843ff894578a2 /classes/User.php
parente6d772a5a8c298f99a059c122109d7b0be36acd1 (diff)
add fancy urls for search
darcs-hash:20080709223144-84dde-10f7f9db7dc5ba200fdeea4d6c1f277e71c54c16.gz
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index 4a03630b5..99aac626f 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -90,7 +90,8 @@ class User extends DB_DataObject
function allowed_nickname($nickname) {
# XXX: should already be validated for size, content, etc.
static $blacklist = array('rss', 'xrds', 'doc', 'main',
- 'settings', 'notice', 'user');
+ 'settings', 'notice', 'user',
+ 'search');
$merged = array_merge($blacklist, common_config('nickname', 'blacklist'));
return !in_array($nickname, $merged);
}