mirror of https://github.com/calzoneman/sync.git
Resolve #553
This commit is contained in:
parent
c5c40a0386
commit
319c52911a
|
@ -1169,6 +1169,9 @@ PlaylistModule.prototype.handleClean = function (user, msg, meta) {
|
|||
var cmd = args.shift();
|
||||
var target = generateTargetRegex(args.join(" "));
|
||||
|
||||
this.channel.logger.log("[playlist] " + user.getName() + " used " + cmd +
|
||||
" with target regex: " + target);
|
||||
|
||||
var cleanfn;
|
||||
if (cmd === "/clean") {
|
||||
cleanfn = function (item) { return target.test(item.queueby); };
|
||||
|
|
Loading…
Reference in New Issue