ClouDev/CloudBot — pull request #198 by daboross (2014-01-14 08:22:20+00:00)
Title: Fix twitch plugin - Don't assume that data has any elements

This will make the twitch plugin work when `http://api.justin.tv/api/stream/list.json?channel=` returns `[]`. Instead of throwing a no element exception, it will check the other API.

This fix originated from @blha303, I've just minimized diff and pull requested it now.