mcollina/mosca — pull request #148 by mocheng (2014-06-14 06:54:16+00:00)
Title: Fix for unsubscribe before subscribe scenario

If mqtt client send unsubscribe message before any subscribe message. The (!sub || !sub.handler) expression would raise an exception.