]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/authorization/ao/ao.cpp
user_property.h moved to general include dir
[stg.git] / projects / stargazer / plugins / authorization / ao / ao.cpp
index cb7fe2d360664e21f7f65c8dd3358e6a087a6142..811807deb4b9dade998eb8306af8038ab201ba01 100644 (file)
@@ -31,7 +31,7 @@ $Author: faust $
 #include "ao.h"
 #include "user.h"
 #include "users.h"
-#include "../../../user_property.h"
+#include "user_property.h"
 #include "../../../eventloop.h"
 
 class AO_CREATOR
@@ -299,7 +299,7 @@ if (u->GetProperty().alwaysOnline)
     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)
             {
             }
         }