diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 21:19:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-10 21:19:19 +0000 |
commit | d02a5866d4fdedec9219aeca0a6048828b394fd2 (patch) | |
tree | 1810181d59b71cba1ca68bfb8b3f9252f3c57caa /include/inspircd.h | |
parent | 23a4885701cba4a87a5ae027257fb4207c917572 (diff) |
Mass-tidyup of module global vars, theyre no longer global vars.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4856 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 63e8c8ce5..fd7cd3da9 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -104,6 +104,11 @@ class InspIRCd : public classbase bool AllModulesReportReady(userrec* user); + int ModCount; + char LogFileName[MAXBUF]; + + featurelist Features; + public: time_t startup_time; ModeParser* ModeGrok; @@ -120,6 +125,13 @@ class InspIRCd : public classbase DNS* Res; TimerManager* Timers; + ModuleList modules; + FactoryList factory; + + int GetModuleCount(); + + Module* FindModule(const std::string &name); + void AddServerName(const std::string &servername); const char* FindServerNamePtr(const std::string &servername); bool FindServerName(const std::string &servername); |