Remove debug conditional

This commit is contained in:
Calvin Montgomery 2016-12-20 00:10:17 -08:00
parent f6c201f3ba
commit b0daa58874
1 changed files with 0 additions and 2 deletions

View File

@ -66,8 +66,6 @@ function initChannelDumper(Server) {
Logger.syslog.log(`Saving channels with delay ${wait}`);
Promise.reduce(Server.channels, (_, chan) => {
return Promise.delay(wait).then(() => {
if (chan.name === 'test')
throw new TypeError('Whoops fucked up there');
if (!chan.dead && chan.users && chan.users.length > 0) {
return chan.saveState().tap(() => {
Logger.syslog.log(`Saved /r/${chan.name}`);