Permalink
Browse files

Removed unused array of servers.

  • Loading branch information...
scottgonzalez committed May 31, 2010
1 parent 6fb807b commit 52acf472c27d539f6ac7832b574c65f63c0d50e6
Showing with 1 addition and 6 deletions.
  1. +1 −6 lib/server.js
View
@@ -3,8 +3,6 @@ var router = require("./router"),
qs = require("querystring"),
Channel = require("./channel").Channel;
-var servers = [];
-
function Server() {
this.httpServer = router.createServer();
this.channels = [];
@@ -39,10 +37,7 @@ extend(Server.prototype, {
});
exports.createServer = function() {
- var server = new Server();
- servers.push(server);
-
- return server;
+ return new Server();
};

0 comments on commit 52acf47

Please sign in to comment.