summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-21 12:21:16 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-21 12:21:16 -0500
commit64f5c542df530e04976b18073852535b06a1ee3a (patch)
treec9ee79d26daac641dacfcd40d28624be6c9f6053 /classes/User.php
parent26bc168c93731c82e95795efa38df60af49b2604 (diff)
Add group and groups to list of forbidden user names
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index e507e082f..c1849abc6 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -118,7 +118,7 @@ class User extends Memcached_DataObject
static $blacklist = array('rss', 'xrds', 'doc', 'main',
'settings', 'notice', 'user',
'search', 'avatar', 'tag', 'tags',
- 'api', 'message');
+ 'api', 'message', 'group', 'groups');
$merged = array_merge($blacklist, common_config('nickname', 'blacklist'));
return !in_array($nickname, $merged);
}