X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fm_bcrypt.cpp;h=787d5eab0c787eaf6ec2d7a6bc317701146f9d6c;hb=384ef31bc01e4a1a2e59d082c9066002410ba54a;hp=1698b072785985f36c16a4f783adf75700ae3f3f;hpb=e191f0ed6cdca421407ebc67c28fafabc6cc63f7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_bcrypt.cpp b/src/modules/m_bcrypt.cpp index 1698b0727..787d5eab0 100644 --- a/src/modules/m_bcrypt.cpp +++ b/src/modules/m_bcrypt.cpp @@ -975,7 +975,7 @@ class ModuleBCrypt : public Module void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { ConfigTag* conf = ServerInstance->Config->ConfValue("bcrypt"); - bcrypt.rounds = conf->getInt("rounds", 10, 1); + bcrypt.rounds = conf->getUInt("rounds", 10, 1); } Version GetVersion() CXX11_OVERRIDE