Permalink
Browse files

[fix] Changed require('sys') to require('util') for compatibility wit…

…h node v0.8
  • Loading branch information...
1 parent 4d2dc38 commit 39253891e320d1e570218ad8799168c43c7468b7 @blakmatrix blakmatrix committed Jun 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/server.js
View
@@ -1,6 +1,6 @@
var net = require('net');
var fs = require('fs');
-var sys = require('sys');
+var util = require('util');
var crypto = require('crypto');
var StompFrame = require('./frame').StompFrame;
var StompFrameEmitter = require('./parser').StompFrameEmitter;
@@ -223,7 +223,7 @@ function SecureStompServer(port, credentials) {
});
}
-sys.inherits(SecureStompServer, StompServer);
+util.inherits(SecureStompServer, StompServer);
StompServer.prototype.listen = function() {
this.server.listen(this.port, 'localhost');

0 comments on commit 3925389

Please sign in to comment.