summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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);