diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-02-02 14:59:14 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-02-02 14:59:14 +0100 |
commit | 1d2e3c2ee2fb4c12ad25832b93ae9513d042717a (patch) | |
tree | ea7c2a7a03f39ae8dcb1de0d98d35aaa6c7b19d3 /irc_commands.c | |
parent | 34b17d9b8901b72439167b99d780c481ce420e33 (diff) | |
parent | a49dcd5c3c6b79470ad71dc45ccf29f65ba2a7f9 (diff) |
Added RESTART command for easier upgrades without losing IPC connections.
(Obviously only works well for forking daemon mode.)
Diffstat (limited to 'irc_commands.c')
-rw-r--r-- | irc_commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/irc_commands.c b/irc_commands.c index 66c39bc5..f2c7a645 100644 --- a/irc_commands.c +++ b/irc_commands.c @@ -572,6 +572,7 @@ static const command_t irc_commands[] = { { "wallops", 1, NULL, IRC_CMD_OPER_ONLY | IRC_CMD_TO_MASTER }, { "lilo", 1, NULL, IRC_CMD_OPER_ONLY | IRC_CMD_TO_MASTER }, { "rehash", 0, irc_cmd_rehash, IRC_CMD_OPER_ONLY }, + { "restart", 0, NULL, IRC_CMD_OPER_ONLY | IRC_CMD_TO_MASTER }, { "kill", 2, NULL, IRC_CMD_OPER_ONLY | IRC_CMD_TO_MASTER }, { NULL } }; |