mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
Thanks jlenk for showing me boolean logic isn't that hard
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14418 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1b13f8894e
commit
eb5977ecc2
@ -181,7 +181,10 @@ namespace FreeSWITCH {
|
||||
var res = LoadInternal(file);
|
||||
isLoaded = true;
|
||||
|
||||
res = res && AppExecutors.Count > 0 && ApiExecutors.Count > 0;
|
||||
if (res) {
|
||||
res = (AppExecutors.Count > 0 || ApiExecutors.Count > 0);
|
||||
if (!res) Log.WriteLine(LogLevel.Info, "No App or Api plugins found in {0}.", file);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user