 
   robot.respond /relay addignore\s+(\S+)/i, (res) =>
     robot.logger.info 'relay addignore ' + res.match[1]
-    if robot.auth and (robot.auth.isAdmin(res.message.user) or robot.auth.hasRole(res.message.user, "relay"))
-      res.send "Sorry, #{res.message.user.name} you don't have permission to perform this relay action."
-      return
+    if not isAuthorized res then return
 
     ignoreUsers.push S(res.match[1]).chompLeft('@').s
     saveBrain()

    #re-assign relays for deep copy after save
    relays = temp

  robot.respond /relay add\s+(\S+)\s+(\S+)\s+(\S+)/i, (res) =>
    robot.logger.info 'relay add ' + res.match[1] + ' ' + res.match[2] + ' ' + res.match[3]
    if robot.auth and (robot.auth.isAdmin(res.message.user) or robot.auth.hasRole(res.message.user, "relay"))
      res.send "Sorry, #{res.message.user.name} you don't have permission to perform this relay action."
      return

    localRoom = S(res.match[1]).chompLeft('#').s
    remoteRoom = S(res.match[2]).chompLeft('#').s


  robot.respond /relay removeignore\s+(\S+)/i, (res) =>
    robot.logger.info 'relay removeignore ' + res.match[1]
    if not isAuthorized res then return

    removeUser = S(res.match[1]).chompLeft('@').s

