hubot-scripts/hubot-auth — pull request #3 by patcon (2014-02-24 01:52:19+00:00)
Title: Don't add `admin` to roles array (and in particular, don't add multiple)

Right now, it seems that the last commit (related to the `displayRoles` var) made it so that now admin is added to the actual user object in the users hash. And since this wasn't expected behaviour of the person who made the change, there's no checking for doubles, so it adds a new array item every time a roles command is run.