remove uneeded console.logs

This commit is contained in:
MSFTserver 2017-11-20 08:09:15 -08:00 committed by GitHub
parent 8d8ff5fe5d
commit ecff38eaad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,10 +10,8 @@ exports.lbrylink = function(bot, msg, suffix) {
return;
}
var link = msg.content.indexOf("lbry://");
console.log(link);
if (link != -1) {
var text = msg.content.replace("lbry://", "https://open.lbry.io/");
console.log(text);
var message = GetWordByPos(text, link);
if (message === "https://open.lbry.io/") {
return;