mirror of
https://github.com/reality/dbot.git
synced 2024-12-03 17:39:28 +01:00
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