]> andersk Git - moira.git/blobdiff - reg_svr/reg_svr.pc
If the user only supplies an MIT ID without a name, we don't love them.
[moira.git] / reg_svr / reg_svr.pc
index acb65068ff6e7bc165cb693278c42a2fd7c46fcc..43e52e302592d56617046e399f3fffa93ef531a2 100644 (file)
@@ -358,6 +358,9 @@ void RIFO(reg_client *rc, int argc, char **argv)
        continue;
       if (strlen(first) > 3 && strlen(ufirst) < 3)
        continue;
+      if (!*ufirst && !*ulast)
+       continue;
+
       /* Ignore the middle name since Moira doesn't have those reliably */
       break;
     }
This page took 0.04635 seconds and 4 git commands to generate.