]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parser.cpp
Allowed to build on Darwin.
[stg.git] / stglibs / srvconf.lib / parser.cpp
index 625373594e0b86b12fb1bf92632e396ae19171a9..284e1127e5f83da67bb6f04de36f92bd6a6f34f3 100644 (file)
@@ -848,8 +848,8 @@ else
         {
         if (strcasecmp(el, "Auth") == 0)
             {
         {
         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;
             }
         }
             return 0;
             }
         }