- Some(i) => resp.body[i + 1..resp.body.len() - 1].split(',').map(|nick| nick.trim().to_string()).collect(),\r
- None => Vec::new()\r
+ Some(i) if i < resp.body.len() -1 =>\r
+ resp.body[i + 1..resp.body.len() - 1]\r
+ .split(',')\r
+ .map(|nick| nick.trim().to_string())\r
+ .filter(|nick| !nick.is_empty())\r
+ .collect(),\r
+ _ => Vec::new()\r