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 9ba7eff9e0
commit b6da2e87be
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