sockethub/sockethub — pull request #92 by nilclass (2013-07-13 07:12:58+00:00)
Title: Fix "cleanup" call to platforms

This was always just showing "[dispatcher] failed session cleanup, session already undefined" in the console, despite the actual error being that the function "Dispatcher.sendSubSystem" doesn't exist anymore.

I'm not sure if going via the ":incoming" channel of the platform to issue the "cleanup" command is the best way to go, but it seems to work fine.