From e06c1647c46e8615b80efba915c637c6111f9a6e Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 12 Aug 2013 17:17:38 +0000 Subject: [PATCH] fix ~warnings output --- modules/warning/warning.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/warning/warning.js b/modules/warning/warning.js index 34398e0..b079384 100644 --- a/modules/warning/warning.js +++ b/modules/warning/warning.js @@ -60,7 +60,8 @@ var warning = function(dbot) { + warnee.primaryNick) })); } else { - event.reply(dbot.t('no_warnings', { 'user': warnee })); + event.reply(dbot.t('no_warnings', { 'user': + warnee.primaryNick })); } }); }.bind(this));