Skip to content

Commit

Permalink
remove "if no more childEvents destroy parent"
Browse files Browse the repository at this point in the history
  • Loading branch information
moshmage committed May 26, 2016
1 parent 6429503 commit 7e95903
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions eventer.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ Eventer = module.exports = function Eventer(IrcLib, IrcConf) {
self.EVENTSNET[eventType].splice(found,1);
}

if (self.FORCEKEEP.indexOf(eventType) < 0 && self.EVENTSNET[eventType].length === 0) {
destroyEventType(eventType);
}

};

/**
Expand Down

0 comments on commit 7e95903

Please sign in to comment.