summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-01-08 11:53:29 +0000
committerSadie Powell <sadie@witchery.services>2020-01-08 11:53:29 +0000
commit34e33342d548f3ecaff791f526786b39318b7437 (patch)
tree6a0320ad644c23fb4dede9ec95e455f104502a62 /src/modules
parent0ff2d05ba6b94c5346e6e3e528118fadae1cb126 (diff)
Rebuild the 005 numeric after changing the case mapping.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_codepage.cpp4
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