return(SUB_ERROR);
}
- if (do_mr_query("get_user_account_by_login", 1, argv + 1,
+ /*
+ * If the listname is less than 8 characters, make sure it doesn't
+ * collide with a username.
+ */
+ if ((strlen(argv[1]) <= 8) &&
+ do_mr_query("get_user_account_by_login", 1, argv + 1,
StoreInfo, (char *) &elem) == 0) {
Put_message("A user by that name already exists in the database.");
Loop(QueueTop(elem), FreeInfo);