mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 05:08:49 +00:00
bug fixes
This commit is contained in:
parent
1b11425acd
commit
5d545d8a85
1 changed files with 16 additions and 0 deletions
|
@ -369,6 +369,10 @@ namespace v2rayN.Handler
|
|||
{
|
||||
return -1;
|
||||
}
|
||||
if (profileItem.id.IsNullOrEmpty())
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
AddServerCommon(ref config, profileItem, toFile);
|
||||
|
||||
|
@ -636,6 +640,10 @@ namespace v2rayN.Handler
|
|||
{
|
||||
return -1;
|
||||
}
|
||||
if (profileItem.id.IsNullOrEmpty())
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
AddServerCommon(ref config, profileItem, toFile);
|
||||
|
||||
|
@ -675,6 +683,10 @@ namespace v2rayN.Handler
|
|||
{
|
||||
profileItem.streamSecurity = Global.StreamSecurity;
|
||||
}
|
||||
if (profileItem.id.IsNullOrEmpty())
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
AddServerCommon(ref config, profileItem, toFile);
|
||||
|
||||
|
@ -800,6 +812,10 @@ namespace v2rayN.Handler
|
|||
{
|
||||
profileItem.flow = Global.flows.First();
|
||||
}
|
||||
if (profileItem.id.IsNullOrEmpty())
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
AddServerCommon(ref config, profileItem, toFile);
|
||||
|
||||
|
|
Loading…
Reference in a new issue