summaryrefslogtreecommitdiff
path: root/src/net/ea/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/network.cpp')
-rw-r--r--src/net/ea/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/network.cpp b/src/net/ea/network.cpp
index 128ca2996..61a9499d0 100644
--- a/src/net/ea/network.cpp
+++ b/src/net/ea/network.cpp
@@ -86,7 +86,7 @@ Network::~Network()
TcpNet::quit();
}
-bool Network::connect(ServerInfo server)
+bool Network::connect(const ServerInfo &server)
{
if (mState != IDLE && mState != NET_ERROR)
{