forked from GitHub/dbot
oops
This commit is contained in:
parent
c247f48fbe
commit
c26c776b48
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user