Fix maintenance

pull/1/head
yflory 4 years ago
parent 732e92e17f
commit 6027123d12

@ -141,7 +141,7 @@ var args_isMaintenance = function (args) {
var makeBroadcastSetter = function (attr, validation) {
return function (Env, args) {
if ((validation && !validation(args)) || !args_isString(args)) {
if ((validation && !validation(args)) && !args_isString(args)) {
throw new Error('INVALID_ARGS');
}
var str = args[0];

Loading…
Cancel
Save