forked from GitHub/dbot
fix binding bug
This commit is contained in:
parent
d89fd21301
commit
fbb60306d5
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user