]> git.pond.sub.org Git - empserver/commitdiff
Add a pre_update_hook default in src/lib/global/constants.c, so that
authorMarc Olzheim <marcolz@stack.nl>
Tue, 15 Mar 2005 19:58:41 +0000 (19:58 +0000)
committerMarc Olzheim <marcolz@stack.nl>
Tue, 15 Mar 2005 19:58:41 +0000 (19:58 +0000)
we won't have to patch the econfig file later on.

src/scripts/nightly/patches/All/pre_update.patch [new file with mode: 0644]

diff --git a/src/scripts/nightly/patches/All/pre_update.patch b/src/scripts/nightly/patches/All/pre_update.patch
new file mode 100644 (file)
index 0000000..1dadc2f
--- /dev/null
@@ -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 */