mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-24 10:33:15 +08:00
fix
This commit is contained in:
parent
645f7c3d60
commit
6bb1647655
@ -785,6 +785,7 @@ namespace Configs {
|
|||||||
bool RoutingChain::add_simple_process_rule(const QString& content, const std::shared_ptr<RouteRule>& rule, ruleType type)
|
bool RoutingChain::add_simple_process_rule(const QString& content, const std::shared_ptr<RouteRule>& rule, ruleType type)
|
||||||
{
|
{
|
||||||
auto sp = content.split(":");
|
auto sp = content.split(":");
|
||||||
|
if (sp.size() < 2) return false;
|
||||||
const QString& subType = sp[0];
|
const QString& subType = sp[0];
|
||||||
if (subType == "processPath" && type == simpleProcessPath)
|
if (subType == "processPath" && type == simpleProcessPath)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user