From 27cbf9efdb75590ada1c734e68bd74a78730ad20 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Thu, 1 Sep 2011 16:29:04 +0300 Subject: [PATCH] Ignore deleted users while building new tariffs table --- projects/stargazer/plugins/other/smux/tables.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/stargazer/plugins/other/smux/tables.cpp b/projects/stargazer/plugins/other/smux/tables.cpp index 962c91a8..ad08c40f 100644 --- a/projects/stargazer/plugins/other/smux/tables.cpp +++ b/projects/stargazer/plugins/other/smux/tables.cpp @@ -28,6 +28,8 @@ assert(handle && "USERS::OpenSearch is always correct"); USER_PTR user; while (!users.SearchNext(handle, &user)) { + if (user->GetDeleted()) + continue; std::string tariffName(user->GetProperty().tariffName.ConstData()); std::map::iterator it; it = data.lower_bound(tariffName); -- 2.43.2