Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed unnecessary socket call

  • Loading branch information...
commit d77bf70fba60f0374217a64272cc15d36a2fe7cf 1 parent c7b48de
@SlashmanX authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  app.js
View
2  app.js
@@ -81,11 +81,9 @@ if ('development' == app.get('env')) {
app.get('/', routes.index);
app.get('/r/:subreddit/', function(req, res) {
- io.sockets.clients(req.sessionID).join(req.params.subreddit);
res.render('index', { title: req.params.subreddit, subreddit: req.params.subreddit });
})
app.get('/r/:subreddit/comments/:topicid/:topicname?/*', function(req, res) {
- io.sockets.clients(req.sessionID).join(req.params.subreddit);
res.render('index', { title: req.params.subreddit, topic: req.params.topicid });
})
Please sign in to comment.
Something went wrong with that request. Please try again.