summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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