- if (!ucr->ips.empty())
- if (!u->GetProperty().ips.Set(ucr->ips.const_data(), &currAdmin, login, store))
- res = -1;
-
- if (!ucr->alwaysOnline.empty())
- if (!u->GetProperty().alwaysOnline.Set(ucr->alwaysOnline.const_data(),
- &currAdmin, login, store))
- res = -1;
-
- if (!ucr->address.empty())
- if (!u->GetProperty().address.Set(ucr->address.const_data(), &currAdmin, login, store))
- res = -1;
-
- if (!ucr->creditExpire.empty())
- if (!u->GetProperty().creditExpire.Set(ucr->creditExpire.const_data(),
- &currAdmin, login, store))
- res = -1;
-
- if (!ucr->credit.empty())
- if (!u->GetProperty().credit.Set(ucr->credit.const_data(), &currAdmin, login, store))
- res = -1;
-
- if (!usr->freeMb.empty())
- if (!u->GetProperty().freeMb.Set(usr->freeMb.const_data(), &currAdmin, login, store))
- res = -1;
-
- if (!ucr->disabled.empty())
- if (!u->GetProperty().disabled.Set(ucr->disabled.const_data(), &currAdmin, login, store))
- res = -1;
-
- if (!ucr->disabledDetailStat.empty())
- if (!u->GetProperty().disabledDetailStat.Set(ucr->disabledDetailStat.const_data(), &currAdmin, login, store))
- res = -1;
-
- if (!ucr->email.empty())
- if (!u->GetProperty().email.Set(ucr->email.const_data(), &currAdmin, login, store))
- res = -1;
-
- if (!ucr->group.empty())
- if (!u->GetProperty().group.Set(ucr->group.const_data(), &currAdmin, login, store))
- res = -1;
-
- if (!ucr->note.empty())
- if (!u->GetProperty().note.Set(ucr->note.const_data(), &currAdmin, login, store))
- res = -1;
-
- std::vector<USER_PROPERTY_LOGGED<std::string> *> userdata;
- userdata.push_back(u->GetProperty().userdata0.GetPointer());
- userdata.push_back(u->GetProperty().userdata1.GetPointer());
- userdata.push_back(u->GetProperty().userdata2.GetPointer());
- userdata.push_back(u->GetProperty().userdata3.GetPointer());
- userdata.push_back(u->GetProperty().userdata4.GetPointer());
- userdata.push_back(u->GetProperty().userdata5.GetPointer());
- userdata.push_back(u->GetProperty().userdata6.GetPointer());
- userdata.push_back(u->GetProperty().userdata7.GetPointer());
- userdata.push_back(u->GetProperty().userdata8.GetPointer());
- userdata.push_back(u->GetProperty().userdata9.GetPointer());