summaryrefslogtreecommitdiffstats
path: root/mbbsd/var.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/var.c')
-rw-r--r--mbbsd/var.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/mbbsd/var.c b/mbbsd/var.c
index 4ba3cf9e..7df518e5 100644
--- a/mbbsd/var.c
+++ b/mbbsd/var.c
@@ -1,4 +1,4 @@
-/* $Id: var.c,v 1.21 2003/07/20 00:55:34 in2 Exp $ */
+/* $Id$ */
#define INCLUDE_VAR_H
#include "bbs.h"
@@ -621,3 +621,13 @@ char *friend_file[8] = {
FN_WATER,
FN_VISABLE
};
+
+#ifdef PTTBBS_UTIL
+ #ifdef OUTTA_TIMER
+ #define COMMON_TIME (SHM->GV2.e.now)
+ #else
+ #define COMMON_TIME (time(0))
+ #endif
+#else
+ #define COMMON_TIME (now)
+#endif