From c26c776b489d1303cef52f0a44e3801d8000fb92 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 19 Feb 2016 19:13:32 +0000 Subject: [PATCH] oops --- modules/warning/warning.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/warning/warning.js b/modules/warning/warning.js index 6fa1dc6..789f000 100644 --- a/modules/warning/warning.js +++ b/modules/warning/warning.js @@ -70,7 +70,7 @@ var warning = function(dbot) { if(warnee) { var warns = {}; - dbot.api.getUserAlises(warnee.id, function(err, aliases) { + dbot.api.users.getUserAlises(warnee.id, function(err, aliases) { var alia = aliases.push(warnee.primaryNick); this.db.search('notifies', { 'server': warnee.id,