From 5b5e898703c09cdf732858432be4a41b54770802 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Mon, 16 Oct 2017 00:10:02 +0100 Subject: Un-constify the private fields of WebIRCHost. These being constant causes problems on older compilers that don't elide the temporary copy when adding to the host list. --- src/modules/m_cgiirc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index e5997cd4e..8abf7eb94 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -44,10 +44,10 @@ static void ChangeIP(User* user, const std::string& newip) class WebIRCHost { private: - const std::string hostmask; - const std::string fingerprint; - const std::string password; - const std::string passhash; + std::string hostmask; + std::string fingerprint; + std::string password; + std::string passhash; public: WebIRCHost(const std::string& mask, const std::string& fp, const std::string& pass, const std::string& hash) -- cgit v1.2.3