From 29a4035b79c227fac954bfbceef69dd3af8d0edd Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 18 Jul 2019 11:57:21 +0200 Subject: [PATCH] make a note about a small problem --- historyKeeper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/historyKeeper.js b/historyKeeper.js index 37d647360..7a32a2900 100644 --- a/historyKeeper.js +++ b/historyKeeper.js @@ -80,6 +80,7 @@ module.exports.create = function (cfg) { metadata = msg = tryParse(msgObj.buff.toString('utf8')); // FIXME METADATA READ if (typeof msg === "undefined") { return rmcb(); } if (msg.validateKey) { + // XXX this variable name is very misleading as it's actually the metadata, not the validateKey validateKey = historyKeeperKeys[channelName] = msg; return rmcb(); }