diff options
| author | 2014-03-06 21:43:36 +0000 | |
|---|---|---|
| committer | 2014-03-08 13:01:09 +0100 | |
| commit | f2db4b743f0df9b9e588979fd0fcf2815e54af44 (patch) | |
| tree | aaef011a92d187cb1e7a81355de18e2f58d8815e /src/modules/m_chghost.cpp | |
| parent | Fix m_permchannels not prepending the path when reading the config. (diff) | |
Make the maximum hostname length configurable in the config.
Diffstat (limited to 'src/modules/m_chghost.cpp')
| -rw-r--r-- | src/modules/m_chghost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index eefac00f1..3a637f9d0 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -39,7 +39,7 @@ class CommandChghost : public Command { const char* x = parameters[1].c_str(); - if (parameters[1].length() > 63) + if (parameters[1].length() > ServerInstance->Config->Limits.MaxHost) { user->WriteNotice("*** CHGHOST: Host too long"); return CMD_FAILURE; |
