diff options
Diffstat (limited to 'modules/chanserv/cs_drop.cpp')
-rw-r--r-- | modules/chanserv/cs_drop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_drop.cpp b/modules/chanserv/cs_drop.cpp index fbde9fa5f..21e7fc44f 100644 --- a/modules/chanserv/cs_drop.cpp +++ b/modules/chanserv/cs_drop.cpp @@ -55,7 +55,7 @@ public: if (!code) { code = ci->Extend<Anope::string>("channel-dropcode"); - *code = Anope::Random(15); + *code = Anope::Random(Config->GetBlock("options").Get<size_t>("codelength", 15)); } source.Reply(CONFIRM_DROP, ci->name.c_str(), source.service->GetQueryCommand().c_str(), |