[Modify] Polish it

This commit is contained in:
sta 2020-10-13 19:43:01 +09:00
parent c29d31492d
commit 293cef6ae4

View File

@ -390,14 +390,12 @@ namespace WebSocketSharp.Net
return true; return true;
} }
var prefs = _unhandled; listener = searchHttpListenerFromSpecial (path, _unhandled);
listener = searchHttpListenerFromSpecial (path, prefs);
if (listener != null) if (listener != null)
return true; return true;
prefs = _all; listener = searchHttpListenerFromSpecial (path, _all);
listener = searchHttpListenerFromSpecial (path, prefs);
return listener != null; return listener != null;
} }