From f240285155d115ee3a0fd437944f2bec05a0c14c Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Dec 2006 20:00:33 +0000 Subject: 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 --- include/configreader.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') 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 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. -- cgit v1.2.3