diff options
author | Sadie Powell <sadie@witchery.services> | 2020-01-08 11:53:29 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-01-08 11:53:29 +0000 |
commit | 34e33342d548f3ecaff791f526786b39318b7437 (patch) | |
tree | 6a0320ad644c23fb4dede9ec95e455f104502a62 | |
parent | 0ff2d05ba6b94c5346e6e3e528118fadae1cb126 (diff) |
Rebuild the 005 numeric after changing the case mapping.
-rw-r--r-- | src/modules/m_codepage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp index 911a4781e..9fd012ffe 100644 --- a/src/modules/m_codepage.cpp +++ b/src/modules/m_codepage.cpp @@ -114,6 +114,8 @@ class ModuleCodepage ServerInstance->Config->CaseMapping = origcasemapname; national_case_insensitive_map = origcasemap; CheckRehash(casemap); + + ServerInstance->ISupport.Build(); } void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE @@ -190,6 +192,8 @@ class ModuleCodepage ServerInstance->Config->CaseMapping = name; national_case_insensitive_map = casemap; CheckRehash(newcasemap); + + ServerInstance->ISupport.Build(); } Version GetVersion() CXX11_OVERRIDE |