]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parser_check_user.cpp
Moved AUTH_BY parser from global scope.
[stg.git] / stglibs / srvconf.lib / parser_check_user.cpp
index b99a43904368d6be96d1afe215fb89771b48a1d5..8c150357508674c467833bf5aae31c4be803e301 100644 (file)
@@ -25,6 +25,8 @@
 
 #include <strings.h>
 
+using namespace STG;
+
 PARSER_CHECK_USER::PARSER_CHECK_USER()
     : callback(NULL),
       data(NULL),
@@ -32,7 +34,7 @@ PARSER_CHECK_USER::PARSER_CHECK_USER()
 {
 }
 //-----------------------------------------------------------------------------
-int PARSER_CHECK_USER::ParseStart(const char *el, const char **attr)
+int PARSER_CHECK_USER::ParseStart(const char * el, const char ** attr)
 {
 depth++;
 if (depth == 1)