mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
remove unused debug output
This commit is contained in:
parent
e2e1c0b6a9
commit
389e8660b1
@ -20,7 +20,6 @@ var api = function(dbot) {
|
|||||||
|
|
||||||
if(!resolvedUser) {
|
if(!resolvedUser) {
|
||||||
resolvedUser = _.find(knownUsers.aliases, function(nick, alias) {
|
resolvedUser = _.find(knownUsers.aliases, function(nick, alias) {
|
||||||
console.log(alias + ' -> ' + nick);
|
|
||||||
var toMatch = new RegExp(user, "i");
|
var toMatch = new RegExp(user, "i");
|
||||||
if(alias.match(toMatch) !== null) return nick;
|
if(alias.match(toMatch) !== null) return nick;
|
||||||
}, this);
|
}, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user