[NEWBIE]Invalid names

From: Emil Nilimaa (kyos_overlord@hotmail.com)
Date: 11/09/99

Ok, heh

The way this works is it you write in a file the names
that shouldnt work.

however.. if you put short names in the list, like Cy, Cye,
Mo, Mog etc..
It will make all names containing those strings be invalid,

how do i change it to be such that it only make those names
which only contains that particular string, and nothing else to
be invalid.

so AgCymon  would work too and Cy be invalid.   Now AgCymon gets invalid
since its containing cy.

think this is the code for it in ban.c

/* Does the desired name contain a string in the invalid list? */
  for (i = 0; i < num_invalid; i++)
    if (strstr(tempname, invalid_list[i]))
      return (0);

Any help would be appreciated :P

Get Your Private, Free Email at http://www.hotmail.com

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |

This archive was generated by hypermail 2b30 : 12/15/00 PST