summaryrefslogtreecommitdiffstats
path: root/src/NetworkClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/NetworkClient.cpp')
-rw-r--r--src/NetworkClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NetworkClient.cpp b/src/NetworkClient.cpp
index ee79fb9..a8660fe 100644
--- a/src/NetworkClient.cpp
+++ b/src/NetworkClient.cpp
@@ -11,7 +11,7 @@ NetworkClient::NetworkClient(std::string address, unsigned short port, std::stri
PacketHandshake handshake;
handshake.protocolVersion = 340;
- handshake.serverAddress = address;
+ handshake.serverAddress = std::move(address);
handshake.serverPort = port;
handshake.nextState = 2;
network->SendPacket(handshake);