chiark / gitweb /
Only report failure to find OSS devices once, not every time we think
[disorder] / server / server.c
index 5e8f2208baffd6cddba8d72034fc81c2afdb1577..67b1fdcb4b95b21340c2375f99b495042cecb1d8 100644 (file)
@@ -1154,7 +1154,7 @@ static int c_edituser(struct conn *c,
       /* Update rights for this user */
       rights_type r;
 
-      if(parse_rights(vec[1], &r, 1))
+      if(parse_rights(vec[2], &r, 1))
        for(d = connections; d; d = d->next)
          if(!strcmp(d->who, vec[0]))
            d->rights = r;