diff --git a/lib/decrees.js b/lib/decrees.js index 09bf1926e..4eb1dff85 100644 --- a/lib/decrees.js +++ b/lib/decrees.js @@ -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];