From 76ebc88ccd6fef0bf2d97b607829fb3466e273af Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 09:23:46 +0000 Subject: extern time_t TIME -> InspIRCd::Time() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/base.h | 2 +- include/inspircd.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/base.h b/include/base.h index 2289fa5e0..88a4dbf12 100644 --- a/include/base.h +++ b/include/base.h @@ -40,7 +40,7 @@ class classbase /** Constructor, * Sets the object's time */ - classbase() { age = TIME; } + classbase(); ~classbase() { } }; diff --git a/include/inspircd.h b/include/inspircd.h index 89c4e1c35..3e3029310 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -109,6 +109,9 @@ class InspIRCd : public classbase featurelist Features; + time_t TIME; + time_t OLDTIME; + public: time_t startup_time; ModeParser* ModeGrok; @@ -125,10 +128,13 @@ class InspIRCd : public classbase std::vector all_opers; DNS* Res; TimerManager* Timers; + command_table cmdlist; ModuleList modules; FactoryList factory; + time_t Time(); + int GetModuleCount(); Module* FindModule(const std::string &name); -- cgit v1.2.3