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));