summaryrefslogtreecommitdiff
path: root/include/isupportmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/isupportmanager.h')
-rw-r--r--include/isupportmanager.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/isupportmanager.h b/include/isupportmanager.h
index c62cd1ae3..3915b8b1b 100644
--- a/include/isupportmanager.h
+++ b/include/isupportmanager.h
@@ -24,17 +24,14 @@ class CoreExport ISupportManager
{
private:
/** The generated lines which are sent to clients. */
- std::vector<std::string> Lines;
+ std::vector<std::string> cachedlines;
public:
/** (Re)build the ISUPPORT vector. */
void Build();
/** Returns the std::vector of ISUPPORT lines. */
- const std::vector<std::string>& GetLines()
- {
- return this->Lines;
- }
+ const std::vector<std::string>& GetLines() const { return cachedlines; }
/** Send the 005 numerics (ISUPPORT) to a user. */
void SendTo(LocalUser* user);