summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-16 18:12:12 -0400
committerAdam <Adam@anope.org>2010-09-16 18:12:12 -0400
commitcd1e9f3181234521a2858f73b47f57a22c0dad40 (patch)
tree2d2613af40ce3196d2149f9b614f363db088b802 /src/main.cpp
parentccc6109879617f4fc910bd78d395b9eee4300a2e (diff)
Fixed Anope::CurTime to really work, and made ChanServ timers allow using the channels botserv bot instead of only ChanServ
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 26ebd65ba..a1417b197 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -71,6 +71,8 @@ time_t start_time;
/* Parameters and environment */
char **my_av, **my_envp;
+time_t Anope::CurTime = time(NULL);
+
/******** Local variables! ********/
/* Set to 1 after we've set everything up */