mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	This commit is contained in:
		| @@ -238,6 +238,7 @@ SocketGroups.create = function (socket, data, callback) { | ||||
| SocketGroups.delete = isOwner(function (socket, data, callback) { | ||||
| 	if (data.groupName === 'administrators' || | ||||
| 		data.groupName === 'registered-users' || | ||||
| 		data.groupName === 'guests' || | ||||
| 		data.groupName === 'Global Moderators') { | ||||
| 		return callback(new Error('[[error:not-allowed]]')); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user