aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-12-20 15:55:52 +0000
committerGravatar Sadie Powell2022-12-20 16:02:12 +0000
commit8025a69a538a27f84482eff4e0e3dff50c5a69bc (patch)
treedf1404c7aa6d2bdee94739a83f5582dbceaeb4d4 /include/modules
parentDon't automatically fall back to ToNetwork from ToInternal. (diff)
Allow remapping mode and extban characters at load time.
Closes #1970.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/extban.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/extban.h b/include/modules/extban.h
index 8f3268371..73963ac35 100644
--- a/include/modules/extban.h
+++ b/include/modules/extban.h
@@ -169,7 +169,7 @@ protected:
*/
Base(Module* Creator, const std::string& Name, unsigned char Letter)
: ServiceProvider(Creator, Name, SERVICE_CUSTOM)
- , letter(Letter)
+ , letter(ServerInstance->Config->ConfValue("extbans")->getCharacter(Name, Letter))
, manager(Creator, "extbanmanager")
{
}