fix binding bug

This commit is contained in:
reality 2013-01-15 15:32:44 +00:00
parent d89fd21301
commit fbb60306d5

View File

@ -60,7 +60,7 @@ var quotes = function(dbot) {
if(this.rmCache.length < dbot.config.quotes.rmLimit) {
this.rmTimer = dbot.timers.addOnceTimer(600000, function() {
this.rmCache.length = 0; // lol what
});
}.bind(this));
} else {
_.each(dbot.config.admins, function(admin) {
dbot.say(event.server, admin, dbot.t('rm_cache_limit'));