Export messages so that they can be extended from another module.

This commit is contained in:
Braydon Fuller 2015-01-08 01:51:17 -05:00
parent 187e08b2d0
commit f2017629b7

View File

@ -155,7 +155,9 @@ Message.prototype.serialize = function(network) {
message.put(payload); message.put(payload);
return message.buffer(); return message.buffer();
} };
module.exports.Message = Message;
/** /**
* Version Message * Version Message