From d02a5866d4fdedec9219aeca0a6048828b394fd2 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 21:19:19 +0000 Subject: 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 --- include/inspircd.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/inspircd.h') 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); -- cgit v1.2.3