]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/authorization/ao/ao.cpp
Include MODULE_SETTINGS definition in rpcconfig.h
[stg.git] / projects / stargazer / plugins / authorization / ao / ao.cpp
index cb7fe2d360664e21f7f65c8dd3358e6a087a6142..b59bd58c8d2643782ef6af60bbeabd41f9ae01bc 100644 (file)
@@ -299,7 +299,7 @@ if (u->GetProperty().alwaysOnline)
     USER_IPS ips = u->GetProperty().ips;
     if (ips.OnlyOneIP())
         {
     USER_IPS ips = u->GetProperty().ips;
     if (ips.OnlyOneIP())
         {
-        if (u->Authorize(ips[0].ip, "", 0xFFffFFff, this) == 0)
+        if (u->Authorize(ips[0].ip, 0xFFffFFff, this) == 0)
             {
             }
         }
             {
             }
         }