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 3159bb5e1..ba7ba6371 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(Config->GetBlock("options").Get<size_t>("codelength", 15)); + *code = Anope::Random(Config->GetBlock("options").Get<size_t>("codelength", "15")); } source.Reply(CONFIRM_DROP, ci->name.c_str(), source.service->GetQueryCommand("chanserv/drop").c_str(), |