X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..0aa5d347a234d6a636ae481564ac537c8f32a917:/libs/srvconf/parsers/chg_admin.cpp?ds=sidebyside diff --git a/libs/srvconf/parsers/chg_admin.cpp b/libs/srvconf/parsers/chg_admin.cpp index 14679dff..ca2d8003 100644 --- a/libs/srvconf/parsers/chg_admin.cpp +++ b/libs/srvconf/parsers/chg_admin.cpp @@ -35,6 +35,6 @@ if (!conf.login.empty()) if (!conf.password.empty()) params += " password=\"" + conf.password.data() + "\""; if (!conf.priv.empty()) - params += " priv=\"" + unsigned2str(conf.priv.data().ToInt()) + "\""; + params += " priv=\"" + std::to_string(conf.priv.data().ToInt()) + "\""; return params; }