reload persistence for tempban [#495]

This commit is contained in:
reality 2013-06-10 17:10:57 +00:00
parent 1c84837611
commit 654a04810a

View File

@ -111,6 +111,14 @@ var kick = function(dbot) {
}
}.bind(this);
this.on = 'KICK';
this.onLoad = function() {
_.each(this.tempBans, function(bans, server) {
_.each(bans, function(timeout, nick) {
this.internalAPI.addTempBan(server, nick, timeout);
}, this);
}, this);
}.bind(this);
};
exports.fetch = function(dbot) {