diff --git a/NetfluxWebsocketSrv.js b/NetfluxWebsocketSrv.js index 48444f7ef..3d0d44d7f 100644 --- a/NetfluxWebsocketSrv.js +++ b/NetfluxWebsocketSrv.js @@ -69,7 +69,9 @@ dropUser = function (ctx, user) { ctx.timeouts[chanName] = setTimeout(function () { ctx.store.removeChannel(chanName, function (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); }