X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d084d9ae9f7bcd7f7d1926e7eeae921dbad49273..518e6f1b9b6edfff2c1b0cd25f061f93a4d1fcb9:/stglibs/srvconf.lib/parsers/get_admin.cpp?ds=inline diff --git a/stglibs/srvconf.lib/parsers/get_admin.cpp b/stglibs/srvconf.lib/parsers/get_admin.cpp index 3d0e135e..29e35ba7 100644 --- a/stglibs/srvconf.lib/parsers/get_admin.cpp +++ b/stglibs/srvconf.lib/parsers/get_admin.cpp @@ -105,7 +105,7 @@ if (strcasecmp(el, "admin") == 0) { parsingAnswer = true; for (const char ** pos = attr; *pos != NULL; pos = pos + 2) - if (!TryParse(propertyParsers, ToLower(*pos), pos, *pos)) + if (!TryParse(propertyParsers, ToLower(*pos), pos, encoding, *pos)) { error = std::string("Invalid parameter '") + *pos + "'."; break;