ClouDev/CloudBot — pull request #188 by daboross (2013-11-30 18:48:24+00:00)
Title: Simplify permissions checking and only print value if user is in group

Although this removes the 'there are no groups with that permission' message, it simplifies permissions checking by removing storing the allowed groups in an array, and instead just iterating over the users inside the loop iterating over the groups.

This will also make the bot print out when a group is found with the permission with the user in it, rather than when any group with the permission is found.