Skip to content
代码片段 群组 项目
提交 ba69197d 编辑于 作者: Bharat Dandu's avatar Bharat Dandu 提交者: Timotej Ecimovic
浏览文件

Minor cleanup

JIRA: ZAPP-797
上级 cd31f49b
No related branches found
No related tags found
无相关合并请求
......@@ -668,7 +668,8 @@ async function is_command_default_response_disabled(command, options) {
)
if (
defaultRespPolicy.toUpperCase() == 'NEVER' ||
(defaultRespPolicy.toUpperCase('ALWAYS') && command.disableDefaultResponse)
(defaultRespPolicy.toUpperCase() != 'ALWAYS' &&
command.disableDefaultResponse)
) {
return options.fn(this)
} else {
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册