From bea3283b0531f55d220610b525a5eb14b91371f0 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 5 Sep 2014 11:29:25 +0000 Subject: [PATCH] no offline messages support for those using anything but my changes to atheme. gg -.- --- modules/report/api.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/modules/report/api.js b/modules/report/api.js index f80be88..6586853 100644 --- a/modules/report/api.js +++ b/modules/report/api.js @@ -94,20 +94,6 @@ var api = function(dbot) { next(); }); }, function() { - offlineUsers = perOps; - if(!_.include(this.config.noMissingChans, cName)) { - _.each(offlineUsers, function(id) { - if(!this.pending[id]) this.pending[id] = []; - this.pending[id].push({ - 'time': new Date().gettime(), - 'channel': cname, - 'user': user.primarynick, - 'message': message - }); - this.pnotify[id] = true; - }.bind(this)); - } - message = this.internalAPI.formatNotify(type, server, user, cName, message); this.internalAPI.notify(server, ops, message);