Permalink
Browse files

Removed unnecessary socket call

  • Loading branch information...
1 parent c7b48de commit d77bf70fba60f0374217a64272cc15d36a2fe7cf @SlashmanX committed Oct 8, 2013
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 });
})

0 comments on commit d77bf70

Please sign in to comment.