mirror of
https://github.com/reality/dbot.git
synced 2024-12-04 09:59:27 +01:00
oops
This commit is contained in:
parent
c247f48fbe
commit
c26c776b48
@ -70,7 +70,7 @@ var warning = function(dbot) {
|
|||||||
if(warnee) {
|
if(warnee) {
|
||||||
var warns = {};
|
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);
|
var alia = aliases.push(warnee.primaryNick);
|
||||||
this.db.search('notifies', {
|
this.db.search('notifies', {
|
||||||
'server': warnee.id,
|
'server': warnee.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user