Skip to content

Commit

Permalink
actually, I don't want to throw
Browse files Browse the repository at this point in the history
  • Loading branch information
dominictarr committed Jun 13, 2012
1 parent e6ce629 commit 21fea65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ module.exports = function (sock) {
if(opts.opts || opts.options)
s.options = opts.opts || opts.options
s.name = opts.name
if(streams[opts.name])
throw new Error('stream with name "'+opts.name + '" already exists')
//if(streams[opts.name])
//throw new Error('stream with name "'+opts.name + '" already exists')
streams[opts.name] = true

s._id = opts._id || count ++
Expand Down

0 comments on commit 21fea65

Please sign in to comment.