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 b88b8659d..f58b624e9 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -167,7 +167,7 @@ void connectToServer(const ServerInfo &server)
void unload()
{
- GeneralHandler *const handler = generalHandler;
+ const GeneralHandler *const handler = generalHandler;
if (handler)
handler->unload();
ignorePackets.clear();