socketstream/socketstream — pull request #323 by paulbjensen (2012-11-20 23:33:10+00:00)
Title: A fix for #299

I've added a fix to handle the problem mentioned here:

https://github.com/socketstream/socketstream/issues/299

The unique_set#remove function was breaking because the @data object did not contain a [key] property, where @data was {}, and key was user_50ac10ac6df6820832000008 (the channel).

As a result, the call to @data[key] on line 16 was breaking because @data[key] is undefined. I therefore put in a return call to skip the rest of the function, as the @data object does not contain that property.