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:
parent
ba72fa9aad
commit
6b6907fe7b
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user