mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13 * chore: #6599, linting 😬
This commit is contained in:
		
				
					committed by
					
						 Julian Lam
						Julian Lam
					
				
			
			
				
	
			
			
			
						parent
						
							eb0a322d7f
						
					
				
				
					commit
					64b9dabff8
				
			| @@ -249,10 +249,10 @@ 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') { | ||||
| 	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