aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-10-16 12:03:52 +0100
committerGravatar Sadie Powell2024-10-16 12:25:20 +0100
commitfc9d49641f4308089abb3e61764895beb148fdff (patch)
tree9525d9908f93ea5e6c993364fa87ff31ee3a7afc /include
parentAllow ConfigTag::getCharacter to return NUL for an empty field. (diff)
Add support for extbans without letters.
Diffstat (limited to 'include')
-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 28f76552a..45b9ebe50 100644
--- a/include/modules/extban.h
+++ b/include/modules/extban.h
@@ -204,7 +204,7 @@ protected:
*/
Base(Module* mod, const std::string& xbname, ExtBan::Letter xbletter)
: ServiceProvider(mod, xbname, SERVICE_CUSTOM)
- , letter(ServerInstance->Config->ConfValue("extbans")->getCharacter(xbname, xbletter))
+ , letter(ServerInstance->Config->ConfValue("extbans")->getCharacter(xbname, xbletter, true))
, manager(mod, "extbanmanager")
{
}