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.
This commit is contained in:
Marc Olzheim 2005-03-15 19:58:41 +00:00
parent 3ce3380829
commit 061e269d37

View file

@ -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 */