[Modify] Replace it

This commit is contained in:
sta 2016-11-03 16:07:56 +09:00
parent 07211d3ad6
commit 483372aa77

View File

@ -937,8 +937,8 @@ namespace WebSocketSharp.Server
/// </param> /// </param>
public bool RemoveWebSocketService (string path) public bool RemoveWebSocketService (string path)
{ {
var msg = path.CheckIfValidServicePath (); string msg;
if (msg != null) { if (!checkServicePath (path, out msg)) {
_logger.Error (msg); _logger.Error (msg);
return false; return false;
} }