mirror of https://github.com/quasar/Quasar.git
Unnecessary try-catch block
This commit is contained in:
parent
43cb701a7a
commit
efa43c4c65
|
@ -267,13 +267,8 @@ private void Send(byte[] data)
|
|||
if (!Connected)
|
||||
return;
|
||||
|
||||
try
|
||||
{
|
||||
if (compressionEnabled)
|
||||
data = new SafeQuickLZ().Compress(data, 0, data.Length, 3);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
if (compressionEnabled)
|
||||
data = new SafeQuickLZ().Compress(data, 0, data.Length, 3);
|
||||
|
||||
if (encryptionEnabled)
|
||||
data = AES.Encrypt(data, Encoding.UTF8.GetBytes(Settings.PASSWORD));
|
||||
|
|
Loading…
Reference in New Issue