remove imgur from the search terms lol (fix regexen)

This commit is contained in:
reality 2013-08-25 19:07:11 +00:00
parent ab9cfb1469
commit cb38352519

View File

@ -191,7 +191,7 @@ var imgur = function(dbot) {
}.bind(this)); }.bind(this));
} }
} }
this.commands['~imgur'].regex = [/^~([\d\w\s-]*)/, 2]; this.commands['~imgur'].regex = [/^~imgur ([\d\w\s-]*)/, 2];
this.onLoad = function() { this.onLoad = function() {
var imgurHandler = function(matches, name, callback) { var imgurHandler = function(matches, name, callback) {