Bugfix: Both should also include Both
This commit is contained in:
		@@ -45,7 +45,7 @@ func (dir Direction) Contains(other Direction) bool {
 | 
			
		||||
	case Server:
 | 
			
		||||
		return other == Server || other == Both
 | 
			
		||||
	case Both:
 | 
			
		||||
		return other == Client || other == Server
 | 
			
		||||
		return other == Client || other == Server || other == Both
 | 
			
		||||
	default:
 | 
			
		||||
		return false
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user