summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-21 19:30:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-21 19:30:40 +0300
commitf3ac812e2079eac53c1a9db56541d7103bd14a61 (patch)
tree3a9a9e9deebdbbb44da32ad4b1656743c4ff80c1 /src/net
parentf61f794776fd37223c0977437a6bfcfef6759f84 (diff)
downloadmv-f3ac812e2079eac53c1a9db56541d7103bd14a61.tar.gz
mv-f3ac812e2079eac53c1a9db56541d7103bd14a61.tar.bz2
mv-f3ac812e2079eac53c1a9db56541d7103bd14a61.tar.xz
mv-f3ac812e2079eac53c1a9db56541d7103bd14a61.zip
Fix code style.
Diffstat (limited to 'src/net')
-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();