diff options
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index b16df9d71..5a7f3ae02 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -90,6 +90,7 @@ struct fakederef #include "inspstring.h" #include "protocol.h" #include "bancache.h" +#include "isupportmanager.h" /** Template function to convert any input type to std::string */ @@ -241,27 +242,6 @@ class serverstats } }; -/** This class manages the generation and transmission of ISUPPORT. */ -class CoreExport ISupportManager -{ -private: - /** The generated lines which are sent to clients. */ - std::vector<std::string> Lines; - -public: - /** (Re)build the ISUPPORT vector. */ - void Build(); - - /** Returns the std::vector of ISUPPORT lines. */ - const std::vector<std::string>& GetLines() - { - return this->Lines; - } - - /** Send the 005 numerics (ISUPPORT) to a user. */ - void SendTo(LocalUser* user); -}; - DEFINE_HANDLER1(IsNickHandler, bool, const std::string&); DEFINE_HANDLER2(GenRandomHandler, void, char*, size_t); DEFINE_HANDLER1(IsIdentHandler, bool, const std::string&); |