3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-11 21:39:37 +01:00
This commit is contained in:
reality 2016-02-19 19:13:32 +00:00
parent c247f48fbe
commit c26c776b48

View File

@ -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,