]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_bcrypt.cpp
Use CommandBase::Params instead of std::vector<std::string>.
[user/henk/code/inspircd.git] / src / modules / m_bcrypt.cpp
index 8a025a0d661c4c96199ddc95d09a5284f739fc03..787d5eab0c787eaf6ec2d7a6bc317701146f9d6c 100644 (file)
@@ -975,10 +975,10 @@ 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()
+       Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Implements bcrypt hashing", VF_VENDOR);
        }