balderdashy/sails — pull request #725 by freshvolk (2013-08-07 21:14:49+00:00)
Title: Check that socket object exists before calling subscribe

This fixes #724, which was throwing an exception if `publishCreate` was called without a socket `toOmit`. It keeps the intended fix of #628 while removing the unintended side-effects of removing that check completely.

Fixes #724
Fixes #626