From b6da2e87be46e75402537c5b1b5245f591708ac0 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Thu, 8 Jan 2015 01:51:17 -0500 Subject: [PATCH] Export messages so that they can be extended from another module. --- lib/transport/messages.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/transport/messages.js b/lib/transport/messages.js index 7503d45..8817463 100644 --- a/lib/transport/messages.js +++ b/lib/transport/messages.js @@ -155,7 +155,9 @@ Message.prototype.serialize = function(network) { message.put(payload); return message.buffer(); -} +}; + +module.exports.Message = Message; /** * Version Message