3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-18 00:22:35 +01:00

what a fool

This commit is contained in:
reality 2013-01-23 13:40:33 +00:00
parent 27e79641d5
commit d7bbd57358

View File

@ -14,11 +14,11 @@ var command = function(dbot) {
this.listener = function(event) { this.listener = function(event) {
var commandName = event.params[0]; var commandName = event.params[0];
if(!_.has(dbot.commands, commandName)) { if(!_.has(dbot.commands, commandName)) {
if(_.has(dbot.modules, 'quotes')) { /*if(_.has(dbot.modules, 'quotes')) {
commandName = '~'; commandName = '~';
} else { } else {*/
return; return;
} //}
} }
if(this.api.isBanned(event.user, commandName)) { if(this.api.isBanned(event.user, commandName)) {