]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/tables.cpp
Initialize class members in EVENT_LOOP constructor
[stg.git] / projects / stargazer / plugins / other / smux / tables.cpp
index 962c91a8207f3e288ceb2e1eb1adb1ffcc56223f..ad08c40f02acd03794aefa2b996d1ea6729ab2cd 100644 (file)
@@ -28,6 +28,8 @@ assert(handle && "USERS::OpenSearch is always correct");
 USER_PTR user;
 while (!users.SearchNext(handle, &user))
     {
 USER_PTR user;
 while (!users.SearchNext(handle, &user))
     {
+    if (user->GetDeleted())
+        continue;
     std::string tariffName(user->GetProperty().tariffName.ConstData());
     std::map<std::string, size_t>::iterator it;
     it = data.lower_bound(tariffName);
     std::string tariffName(user->GetProperty().tariffName.ConstData());
     std::map<std::string, size_t>::iterator it;
     it = data.lower_bound(tariffName);