3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00

re-add ~quote syntax

This commit is contained in:
Luke Slater 2013-01-24 00:39:42 +01:00
parent ba72fa9aad
commit 6b6907fe7b

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)) {