Permalink
Browse files

Merge pull request #24 from stephank/patch-1

Fix for broken `sockjs.listen`.
  • Loading branch information...
2 parents dabf7af + 83b62b1 commit 00af6db6ce8b52d7301b39928294890aa5a799d7 @majek majek committed Oct 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sockjs.coffee
View
@@ -142,7 +142,7 @@ exports.createServer = (options) ->
return new Server(options)
exports.listen = (http_server, options) ->
- srv = createServer(options)
+ srv = exports.createServer(options)
if http_server
srv.installHandlers(http_server)
return srv

0 comments on commit 00af6db

Please sign in to comment.