don't say you deleted database entries if you didn't
This commit is contained in:
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); }
|
||||||
|
else {
|
||||||
console.log("Deleted channel [%s] history from database...", chanName);
|
console.log("Deleted channel [%s] history from database...", chanName);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}, ctx.config.channelRemovalTimeout);
|
}, ctx.config.channelRemovalTimeout);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user