Do not error when server filter does not have a list

This commit is contained in:
Joe Hirschfeld committed 2019-12-24 18:50:49 -08:00
1 parent 4aa276a2d0
commit 0ef4793df3
1 file changed
+3
@@ -6,6 +6,9 @@ import java.util.Collections;
public class ServerFilter {
public ServerFilter(Collection<String> names, boolean whitelist) {
if (names == null)
names = Collections.EMPTY_SET;
this.names = names;
this.whitelist = whitelist;
}