提交 eb5977ec authored 作者: Michael Giagnocavo's avatar Michael Giagnocavo

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
上级 1b13f889
......@@ -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;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论