summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 09:23:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 09:23:46 +0000
commit76ebc88ccd6fef0bf2d97b607829fb3466e273af (patch)
tree6b02e7979ce1c4bf75cfc6e59d9de534ccf22827 /include
parent488932d457b16a778d75cf2a8213dd9a94058403 (diff)
extern time_t TIME -> InspIRCd::Time()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4873 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/base.h2
-rw-r--r--include/inspircd.h6
2 files changed, 7 insertions, 1 deletions
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<userrec*> all_opers;
DNS* Res;
TimerManager* Timers;
+ command_table cmdlist;
ModuleList modules;
FactoryList factory;
+ time_t Time();
+
int GetModuleCount();
Module* FindModule(const std::string &name);