From: Evan Prodromou Date: Wed, 21 Jan 2009 17:21:16 +0000 (-0500) Subject: Add group and groups to list of forbidden user names X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64f5c542df530e04976b18073852535b06a1ee3a;p=quix0rs-gnu-social.git Add group and groups to list of forbidden user names --- diff --git a/classes/User.php b/classes/User.php index e507e082f9..c1849abc6c 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); }