From 503326be044a1586a9f9ec6fc88064f2ee27361d Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 31 Aug 2013 15:23:27 +0000 Subject: [PATCH] fix missing link --- modules/report/report.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/report/report.js b/modules/report/report.js index 5b18099..0ee1d38 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -115,7 +115,7 @@ var report = function(dbot) { if(_.has(this.pending, event.rUser.id) && this.pNotify[event.rUser.id] === true && !_.include(event.rUser.mobile, event.rUser.currentNick)) { dbot.say(event.server, event.user, dbot.t('missed_notifies', { 'user': event.rUser.primaryNick, - 'link': dbot.api.web.getUrl('notify/' + event.server + '/missing') + 'link': dbot.api.web.getUrl('notify/missing') })); this.pNotify[event.rUser.id] = false; } @@ -213,7 +213,7 @@ var report = function(dbot) { && !_.include(user.mobile, user.currentNick)) { dbot.say(user.server, user.currentNick, dbot.t('missed_notifies', { 'user': user.primaryNick, - 'link': dbot.api.web.getUrl('notify/' + user.server + '/missing') + 'link': dbot.api.web.getUrl('notify/missing') })); this.pNotify[user.id] = false; }