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(); }