3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

fix missing link

This commit is contained in:
reality 2013-08-31 15:23:27 +00:00
parent 0cd9e6e343
commit 503326be04

View File

@ -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)) { 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', { dbot.say(event.server, event.user, dbot.t('missed_notifies', {
'user': event.rUser.primaryNick, '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; this.pNotify[event.rUser.id] = false;
} }
@ -213,7 +213,7 @@ var report = function(dbot) {
&& !_.include(user.mobile, user.currentNick)) { && !_.include(user.mobile, user.currentNick)) {
dbot.say(user.server, user.currentNick, dbot.t('missed_notifies', { dbot.say(user.server, user.currentNick, dbot.t('missed_notifies', {
'user': user.primaryNick, 'user': user.primaryNick,
'link': dbot.api.web.getUrl('notify/' + user.server + '/missing') 'link': dbot.api.web.getUrl('notify/missing')
})); }));
this.pNotify[user.id] = false; this.pNotify[user.id] = false;
} }