(banfil, authfil): Remove. Matching user is useless, because the

player can send whatever he wants.  Banning IPs is better done with a
packet filter.  That leaves restricting deity IPs.
(privip): New econfig key to restrict deity IPs.
(may_play): Implement it.
(match_user): Unused, remove.
This commit is contained in:
Markus Armbruster 2006-02-22 20:57:51 +00:00
parent 342d7b33ce
commit 02ddee69fb
7 changed files with 10 additions and 59 deletions

View file

@ -439,7 +439,6 @@ extern int natpass(int, s_char *);
extern struct player *player; /* current player's context */
extern char *praddr(struct player *);
extern void player_main(struct player *);
extern int match_user(char *, struct player *);
extern int command(void);
/* more under Commands */
/* recvclient.c */