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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index f9422c367..98e81576c 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -136,7 +136,7 @@ void connectToServer(const ServerInfo &server)
generalHandler != nullptr)
{
generalHandler->unload();
- delete2(generalHandler);
+ delete2(generalHandler)
}
switch (server.type)
@@ -178,7 +178,7 @@ void unload()
if (handler != nullptr)
handler->unload();
ignorePackets.clear();
- delete2(generalHandler);
+ delete2(generalHandler)
}
ServerTypeT getNetworkType()