diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-13 20:00:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-12-13 20:00:33 +0000 |
commit | f240285155d115ee3a0fd437944f2bec05a0c14c (patch) | |
tree | c5279b786faf023765a2b692b89bdc63b0716225 /include | |
parent | 15e70c8fe60f6d36120c3e278e391f4909aa3688 (diff) |
Improve the way 005 ISUPPORT is sent to users when they connect, cache it in a much more sane format which is much simpler to spool to them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5978 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h index 6c000eb60..622c44d0d 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -453,6 +453,7 @@ class ServerConfig : public Extensible * modules. */ std::string data005; + std::vector<std::string> isupport; /** STATS characters in this list are available * only to operators. @@ -504,6 +505,14 @@ class ServerConfig : public Extensible */ void ClearStack(); + /** Update the 005 vector + */ + void Update005(); + + /** Send the 005 numerics (ISUPPORT) to a user + */ + void Send005(userrec* user); + /** Read the entire configuration into memory * and initialize this class. All other methods * should be used only by the core. |