3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-04 09:59:27 +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) { 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,