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, 1 insertions, 1 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index bfa46d086..1f8195f06 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -204,7 +204,7 @@ void connectToServer(const ServerInfo &server)
void unload()
{
- GeneralHandler *handler = getGeneralHandler();
+ GeneralHandler *const handler = getGeneralHandler();
if (handler)
handler->unload();
}