From 0f73bca593f93e8f18a82d65583fc3eecdc44908 Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 3 Dec 2014 04:14:14 +0000 Subject: [PATCH] yeh --- modules/quotes/commands.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/quotes/commands.js b/modules/quotes/commands.js index 8448ba2..2f1ec54 100644 --- a/modules/quotes/commands.js +++ b/modules/quotes/commands.js @@ -18,7 +18,7 @@ var commands = function(dbot) { event.reply(dbot.t('quote_saved', { 'category': key, 'count': newCount, - 'link': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key)) + 'link': '' })); } else { event.reply(dbot.t('quote_saved', { @@ -114,7 +114,7 @@ var commands = function(dbot) { event.reply(dbot.t('removed_from', { 'quote': removedQuote, 'category': key, - 'link': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key)) + 'link': '' })); } else { event.reply(dbot.t('removed_from', { @@ -155,7 +155,7 @@ var commands = function(dbot) { event.reply(dbot.t('removed_from', { 'category': key, 'quote': quote, - 'link': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key)) + 'link': '' })); } else { event.reply(dbot.t('removed_from', { @@ -379,7 +379,7 @@ var commands = function(dbot) { if(_.has(dbot.modules, 'web')) { event.reply(dbot.t('quote_link', { 'category': key, - 'url': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key)) + 'url': '' })); } else { event.reply(dbot.t('web_not_configured'));