From 061e269d37dbd86531f6e644962ebee99c0de7f7 Mon Sep 17 00:00:00 2001 From: Marc Olzheim Date: Tue, 15 Mar 2005 19:58:41 +0000 Subject: [PATCH] Add a pre_update_hook default in src/lib/global/constants.c, so that we won't have to patch the econfig file later on. --- src/scripts/nightly/patches/All/pre_update.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/scripts/nightly/patches/All/pre_update.patch diff --git a/src/scripts/nightly/patches/All/pre_update.patch b/src/scripts/nightly/patches/All/pre_update.patch new file mode 100644 index 000000000..1dadc2fec --- /dev/null +++ b/src/scripts/nightly/patches/All/pre_update.patch @@ -0,0 +1,12 @@ +Index: empserver/src/lib/global/constants.c +--- empserver/src/lib/global/constants.c 12 Mar 2005 17:24:57 -0000 1.16 ++++ empserver/src/lib/global/constants.c 15 Mar 2005 19:20:25 -0000 +@@ -61,7 +61,7 @@ + char *update_demandtimes = ""; /* times demand update is allowed */ + char *game_days = ""; /* days game is running */ + char *game_hours = ""; /* hours game is running */ +-char *pre_update_hook = ""; ++char *pre_update_hook = "echo '-=< pre_update_hook executed here >=-'"; + int max_idle = 15; /* session dies after max_idle minutes idle */ + + int sect_mob_max = 127; /* sector mobility limits */ -- 2.43.0