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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index 3b380367..ade879a3 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -189,7 +189,8 @@ void connectToServer(const ServerInfo &server)
getLoginHandler()->connect();
}
-void unload() {
+void unload()
+{
GeneralHandler *handler = getGeneralHandler();
if (handler)
{