mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
glee protection
This commit is contained in:
parent
47ddeb8b50
commit
005523bc91
2
run.js
2
run.js
@ -104,7 +104,7 @@ DBot.prototype.reloadModules = function() {
|
||||
if(this.db.quoteArrs.hasOwnProperty(key)) {
|
||||
var output = this.db.quoteArrs[key].random();
|
||||
if(output.indexOf("glee") != -1) {
|
||||
dbot.instance.send('KICK ' + data.channel + ' ' + data.user + ' :glee off dickhead');
|
||||
this.instance.send('KICK ' + data.channel + ' ' + data.user + ' :glee off dickhead');
|
||||
} else {
|
||||
this.say(data.channel, key + ': ' + output);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user