diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-30 02:05:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 03:11:26 +0300 |
commit | a39f63cdfa5ce15b22f294a8bb1db3a036ce462d (patch) | |
tree | 4de71bde947cae0cf5d3196cd97e82f5bc537c5c /src/net/tmwa/generalhandler.cpp | |
parent | 02ec4369acfbf261236631e20dbb76131e7889f8 (diff) | |
download | manaplus-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.gz manaplus-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.bz2 manaplus-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.xz manaplus-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.zip |
One part of fixes after auto checking.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 8f2f25d6d..8188efc73 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -215,8 +215,7 @@ void GeneralHandler::reloadPartially() void GeneralHandler::unload() { - if (mNetwork) - mNetwork->clearHandlers(); + clearHandlers(); } void GeneralHandler::flushNetwork() |