From 0e8b31500e3975e2d04b0bcbd0872656948f0d0f Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 22 Feb 2006 22:12:18 +0000 Subject: [PATCH] (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. --- src/lib/global/constants.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/global/constants.c b/src/lib/global/constants.c index b7140973..fe8d61d1 100644 --- a/src/lib/global/constants.c +++ b/src/lib/global/constants.c @@ -25,8 +25,7 @@ * * --- * - * constants.c: Global constants file. Note that the "hours" file can - * override these, as does the global "econfig" file. + * constants.c: Global constants * * Known contributors to this file: * Ken Stevens, 1995 @@ -40,6 +39,7 @@ char *privname = "Deity forgot to edit econfig"; /* name of priv user */ char *privlog = "careless@invalid"; /* logname of priv user */ +char *privip = "127.0.0.1 ::1"; /* divine hosts and networks */ int WORLD_X = 64; /* World size - x */ int WORLD_Y = 32; /* World size - y */