summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r--src/net/net.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index 90cf9e16a..63a348bde 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -137,6 +137,7 @@ ServerInfo::Type networkType = ServerInfo::UNKNOWN;
void connectToServer(const ServerInfo &server)
{
+ BLOCK_START("Net::connectToServer")
if (networkType == server.type && getGeneralHandler())
{
getGeneralHandler()->reload();
@@ -175,6 +176,7 @@ void connectToServer(const ServerInfo &server)
getLoginHandler()->setServer(server);
getLoginHandler()->connect();
}
+ BLOCK_END("Net::connectToServer")
}
void unload()