X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..02b5dcd27ece461f9dbe122771c4b740dd909d67:/libs/srvconf/parsers/chg_admin.cpp?ds=inline 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; }