don't say you deleted database entries if you didn't

pull/1/head
ansuz 9 years ago
parent 1b2c129380
commit 2d3ed84f5d

@ -69,7 +69,9 @@ dropUser = function (ctx, user) {
ctx.timeouts[chanName] = setTimeout(function () { ctx.timeouts[chanName] = setTimeout(function () {
ctx.store.removeChannel(chanName, function (err) { ctx.store.removeChannel(chanName, function (err) {
if (err) { console.error("[removeChannelErr]: %s", err); } if (err) { console.error("[removeChannelErr]: %s", err); }
console.log("Deleted channel [%s] history from database...", chanName); else {
console.log("Deleted channel [%s] history from database...", chanName);
}
}); });
}, ctx.config.channelRemovalTimeout); }, ctx.config.channelRemovalTimeout);
} }

Loading…
Cancel
Save