Fix estate eject/ban via list crash

This commit is contained in:
Inusaito Sayori
2013-07-31 15:51:56 -04:00
parent f4dc82784f
commit d1f3acdd28

View File

@@ -9495,8 +9495,7 @@ class ListFreeze : public view_listener_t
void estate_bulk_eject(const uuid_vec_t& ids, bool ban, S32 zero)
{
if (ids.empty() || zero != 0) return;
std::vector<std::string> strings;
strings[0] = gAgentID.asString(); // [0] = our agent id
std::vector<std::string> strings(2, gAgentID.asString()); // [0] = our agent id
for (uuid_vec_t::const_iterator it = ids.begin(); it != ids.end(); ++it)
{
LLUUID id(*it);