]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/configuration/sgconfig/parser_user_info.cpp
Disable NFQ on non-linux.
[stg.git] / stargazer / plugins / configuration / sgconfig / parser_user_info.cpp
index 91de27ac8de401ff01f345d87ac2339ba9e4ae5f..ccc86d8ce9f694267d49d7955571eb902022ed0d 100644 (file)
@@ -43,7 +43,8 @@ int USER_INFO::Start(void * /*data*/, const char *el, const char **attr)
 
 void USER_INFO::CreateAnswer()
 {
-    CONST_USER_PTR u;
+    using ConstUserPtr = const User*;
+    ConstUserPtr u;
     if (m_users.FindByName(m_login, &u))
     {
         m_answer = "<UserInfo result=\"error\"/>";