diff --git a/lib/client/client.js b/lib/client/client.js index b982c3a..4f52dde 100644 --- a/lib/client/client.js +++ b/lib/client/client.js @@ -238,6 +238,8 @@ Client.prototype.add = function add (name, entry, controls, callback) { save[k].forEach(function (v) { attr.addValue(v.toString()) }) + } else if (Buffer.isBuffer(save[k])) { + attr.addValue(save[k]); } else { attr.addValue(save[k].toString()) }