Skip to content

Commit

Permalink
app: fix undefined reference to logger
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlucas committed Apr 1, 2016
1 parent 82b9634 commit c70f1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ App.prototype.checkChannelLogging = function checkChannelLogging(chan) {
// check that the path is the same, otherwise, close and reopen
const fp = utils.channelLogLocation(chan)
if (path.dirname(logger.fp) !== fp) {
this.logger.close()
logger.close()
}

if (fp) {
Expand Down

0 comments on commit c70f1b1

Please sign in to comment.