]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/radius/radius.cpp
Fix compilation issues for XML RPC interface
[stg.git] / projects / stargazer / plugins / other / radius / radius.cpp
index c1ecab16164494c70aaf9cb46a3f9c6a7d2ec2fd..c3fb7183b8c5e913993be1bef8fa4f0ab4cdfcc6 100644 (file)
@@ -534,7 +534,7 @@ if (CanAcctService((char *)packet->service))
         return -1;
         }
     USER_IPS ips = ui->GetProperty().ips;
-    if (ui->Authorize(ips[0].ip, "", 0xffFFffFF, this))
+    if (ui->Authorize(ips[0].ip, 0xffFFffFF, this))
         {
         printfd(__FILE__, "RADIUS::ProcessAcctStartPacket cannot authorize user '%s'\n", packet->login);
         packet->packetType = RAD_REJECT_PACKET;