hubot-archive / hubot-auth

Assign roles to users and restrict command access in other scripts
149 stars 54 forks source link

src/auth.coffee: use isAdmin function #11

Closed rowleyaj closed 10 years ago

rowleyaj commented 10 years ago

because user.id isn't a string the comparison was not functioning correctly - the admin list is an array of strings.

patcon commented 10 years ago

Looks good. Thanks Alex!

patcon commented 10 years ago

Released in v1.1.2

Cheers!