Bugfix: Both should also include Both

This commit is contained in:
2025-10-09 15:36:24 +02:00
parent c976de20df
commit b795f3cf04

View File

@@ -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
}