]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Add group and groups to list of forbidden user names
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 21 Jan 2009 17:21:16 +0000 (12:21 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 21 Jan 2009 17:21:16 +0000 (12:21 -0500)
classes/User.php

index e507e082f90fd8602a61f81ec98492f3e40d7bc9..c1849abc6caf5465ede27a8f3283a11f70dee8cd 100644 (file)
@@ -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);
     }