Browse Source

Remove unused 'fatal' bool in WebSocketClosedException#ctor

pull/927/head
Christopher F 7 years ago
parent
commit
2041e475dd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Core/Net/WebSocketClosedException.cs

+ 1
- 1
src/Discord.Net.Core/Net/WebSocketClosedException.cs View File

@@ -7,7 +7,7 @@ namespace Discord.Net
public int CloseCode { get; }
public string Reason { get; }

public WebSocketClosedException(int closeCode, string reason = null, bool fatal = false)
public WebSocketClosedException(int closeCode, string reason = null)
: base($"The server sent close {closeCode}{(reason != null ? $": \"{reason}\"" : "")}")
{
CloseCode = closeCode;


Loading…
Cancel
Save