summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 016dfe9e..3c3d3232 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1237,7 +1237,7 @@ int main(int argc, char *argv[])
case STATE_EXIT:
logger->log("State: EXIT");
- Net::getGeneralHandler()->unload();
+ Net::unload();
break;
case STATE_FORCE_QUIT: