diff options
Diffstat (limited to 'modules/core/os_restart.cpp')
-rw-r--r-- | modules/core/os_restart.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/core/os_restart.cpp b/modules/core/os_restart.cpp index 196d0a3ab..ea8f4b864 100644 --- a/modules/core/os_restart.cpp +++ b/modules/core/os_restart.cpp @@ -26,7 +26,8 @@ class CommandOSRestart : public Command { User *u = source.u; quitmsg = "RESTART command received from " + u->nick; - quitting = save_data = restarting = true; + save_databases(); + quitting = restarting = true; return MOD_CONT; } |