diff options
| author | 2014-03-06 21:43:36 +0000 | |
|---|---|---|
| committer | 2014-03-08 13:01:09 +0100 | |
| commit | f2db4b743f0df9b9e588979fd0fcf2815e54af44 (patch) | |
| tree | aaef011a92d187cb1e7a81355de18e2f58d8815e /src/users.cpp | |
| parent | Fix m_permchannels not prepending the path when reading the config. (diff) | |
| download | inspircd++-f2db4b743f0df9b9e588979fd0fcf2815e54af44.tar.gz inspircd++-f2db4b743f0df9b9e588979fd0fcf2815e54af44.tar.bz2 inspircd++-f2db4b743f0df9b9e588979fd0fcf2815e54af44.zip | |
Make the maximum hostname length configurable in the config.
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index cf1887ce9..1c13ac4ef 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1121,7 +1121,7 @@ bool User::ChangeDisplayedHost(const std::string& shost) FOREACH_MOD(OnChangeHost, (this,shost)); - this->dhost.assign(shost, 0, 64); + this->dhost.assign(shost, 0, ServerInstance->Config->Limits.MaxHost); this->InvalidateCache(); if (IS_LOCAL(this)) |
