]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp
Strange code removed
[stg.git] / projects / stargazer / plugins / authorization / inetaccess / inetaccess.cpp
index a6540d6f0409e66644d8a5755c351a67f1d9427e..f1f20dc343a5a920727368f60dc4781eb2a980a7 100644 (file)
@@ -772,7 +772,7 @@ if (it == ip2user.end())
             return 0;
             }
         }
-    // åÝÅ ÎÅ ÂÙÌÏ ÚÁÐÒÏÓÏ× Ó ÜÔÏÇÏ IP
+
     printfd(__FILE__, "Add new user '%s' from ip %s\n",
             login.c_str(), inet_ntostring(sip).c_str());
     ip2user[sip].login = login;
@@ -1028,9 +1028,6 @@ sendAddr.sin_addr.s_addr = ip;
 
 int res = sendto(listenSocket, buffer, len, 0, (struct sockaddr*)&sendAddr, sizeof(sendAddr));
 
-static struct timeval tv;
-gettimeofday(&tv, NULL);
-
 if (res == len)
     return 0;