X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c4456f2cae7261f7263e3708ff995bade7da722f..553836ed4f1f48c27d1a5a0836bd1b199ce1119e:/stglibs/srvconf.lib/parser.cpp?ds=sidebyside diff --git a/stglibs/srvconf.lib/parser.cpp b/stglibs/srvconf.lib/parser.cpp index 62537359..284e1127 100644 --- a/stglibs/srvconf.lib/parser.cpp +++ b/stglibs/srvconf.lib/parser.cpp @@ -848,8 +848,8 @@ else { if (strcasecmp(el, "Auth") == 0) { - if (attr && attr[0]) - list.push_back(attr[0]); + if (attr && attr[0] && attr[1]) + list.push_back(attr[1]); return 0; } }