summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-10-16 00:10:02 +0100
committerPeter Powell <petpow@saberuk.com>2017-10-16 00:15:12 +0100
commit5b5e898703c09cdf732858432be4a41b54770802 (patch)
tree1b03bc3fb3aea198bb92350a043e6d6e1ea40b51 /src/modules
parentc65b5b4a1e2c88bde155fba9808315b3db291485 (diff)
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.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_cgiirc.cpp8
1 files changed, 4 insertions, 4 deletions
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)