last ...
This commit is contained in:
@@ -1898,24 +1898,32 @@ struct X121SignalGenerator
|
||||
}
|
||||
|
||||
//
|
||||
bool hasLong =
|
||||
!_allowLong
|
||||
? false
|
||||
: HasLongConditions(
|
||||
conditions,
|
||||
pusher,
|
||||
provider //
|
||||
);
|
||||
bool hasLong = false;
|
||||
bool hasShort = false;
|
||||
|
||||
//
|
||||
bool hasShort =
|
||||
!_allowShort
|
||||
? false
|
||||
: HasShortConditions(
|
||||
conditions,
|
||||
pusher,
|
||||
provider //
|
||||
);
|
||||
if (_allowLong)
|
||||
{
|
||||
//
|
||||
hasLong =
|
||||
HasLongConditions(
|
||||
conditions,
|
||||
pusher,
|
||||
provider //
|
||||
);
|
||||
}
|
||||
|
||||
//
|
||||
if (_allowShort && !hasLong)
|
||||
{
|
||||
//
|
||||
hasShort =
|
||||
HasShortConditions(
|
||||
conditions,
|
||||
pusher,
|
||||
provider //
|
||||
);
|
||||
}
|
||||
|
||||
//
|
||||
result = hasLong || hasShort;
|
||||
|
||||
Reference in New Issue
Block a user