From df06ab6044b8a5c7e60220121252cf681733b846 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 29 Dec 2005 21:57:34 +0000 Subject: Cached ISUPPORT git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2702 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 3 ++- include/inspircd_io.h | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/inspircd.h b/include/inspircd.h index 10ab85d4e..e41482341 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -102,7 +102,8 @@ class InspIRCd private: char MODERR[MAXBUF]; void erase_factory(int j); - void erase_module(int j); + void erase_module(int j); + void BuildISupport(); public: time_t startup_time; diff --git a/include/inspircd_io.h b/include/inspircd_io.h index 268ad09bb..76398a6e2 100644 --- a/include/inspircd_io.h +++ b/include/inspircd_io.h @@ -263,6 +263,12 @@ class ServerConfig : public classbase */ std::map IOHookModule; + /** The 005 tokens of this server (ISUPPORT) + * populated/repopulated upon loading or unloading + * modules. + */ + std::string data005; + ServerConfig(); /** Clears the include stack in preperation for -- cgit v1.2.3