rust/hedgewars-server/src/handlers/inroom.rs
changeset 15795 40929af15167
parent 15697 25371cae9fd7
child 15804 747278149393
--- a/rust/hedgewars-server/src/handlers/inroom.rs	Thu Jun 17 19:32:26 2021 +0200
+++ b/rust/hedgewars-server/src/handlers/inroom.rs	Sat Jun 19 17:48:10 2021 +0300
@@ -448,7 +448,7 @@
         Rnd(v) => {
             let result = rnd_reply(&v);
             let mut echo = vec!["/rnd".to_string()];
-            echo.extend(v.into_iter());
+            echo.extend(v);
             let chat_msg = ChatMsg {
                 nick: client.nick.clone(),
                 msg: echo.join(" "),