Merge pull request #913 from braydonf/feature/messages-for-modules

Export messages so that they can be extended from another module.
This commit is contained in:
Esteban Ordano 2015-01-08 15:17:42 -05:00
commit 1a30be3aa5
1 changed files with 3 additions and 1 deletions

View File

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