bug fixes

pull/3989/head
2dust 2023-06-08 20:36:13 +08:00
parent 1b11425acd
commit 5d545d8a85
1 changed files with 16 additions and 0 deletions

View File

@ -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);