aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-06-29 10:35:41 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2008-06-29 10:35:41 +0100
commit565a1eaa8b36ca64a7806e6ad74a9a26495c0c6e (patch)
treec6d404b6600b4e10b7b0d5bd4d4c185f4954e4ac /irc_commands.c
parente0f9170849e9c4aaa679f86703a60686d36607bb (diff)
Added the DEAF command, which makes the daemon stop listening for new
connections. This makes it easier to upgrade a BitlBee without having to disconnect all current users immediately. Closes #428.
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/irc_commands.c b/irc_commands.c
index 6a47007a..fb2bc7cf 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -625,6 +625,7 @@ static const command_t irc_commands[] = {
{ "version", 0, irc_cmd_version, IRC_CMD_LOGGED_IN },
{ "completions", 0, irc_cmd_completions, IRC_CMD_LOGGED_IN },
{ "die", 0, NULL, IRC_CMD_OPER_ONLY | IRC_CMD_TO_MASTER },
+ { "deaf", 0, NULL, IRC_CMD_OPER_ONLY | IRC_CMD_TO_MASTER },
{ "wallops", 1, NULL, IRC_CMD_OPER_ONLY | IRC_CMD_TO_MASTER },
{ "wall", 1, NULL, IRC_CMD_OPER_ONLY | IRC_CMD_TO_MASTER },
{ "rehash", 0, irc_cmd_rehash, IRC_CMD_OPER_ONLY },