diff options
author | Adam <Adam@anope.org> | 2011-05-23 04:41:51 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-23 04:41:51 -0400 |
commit | 8bf8832b70dea28e2048d5952ee03247f12bda92 (patch) | |
tree | f76f670690c105ec8f9ca079d868e930fd8f205b /modules/core/os_restart.cpp | |
parent | 4dd7e261f5704569856b5854dcc1f68010f0aaad (diff) |
Rewrote the signal handling to use sigaction
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; } |