From ed971268be7cfd5a4a8223211401654b30a57cbd Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 14 Oct 2016 22:14:22 +0000 Subject: Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling. --- cmd-lock-server.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd-lock-server.c') diff --git a/cmd-lock-server.c b/cmd-lock-server.c index 2eef9952..b501efe8 100644 --- a/cmd-lock-server.c +++ b/cmd-lock-server.c @@ -33,7 +33,7 @@ const struct cmd_entry cmd_lock_server_entry = { .args = { "", 0, 0 }, .usage = "", - .flags = 0, + .flags = CMD_AFTERHOOK, .exec = cmd_lock_server_exec }; @@ -46,7 +46,7 @@ const struct cmd_entry cmd_lock_session_entry = { .tflag = CMD_SESSION, - .flags = 0, + .flags = CMD_AFTERHOOK, .exec = cmd_lock_server_exec }; @@ -59,7 +59,7 @@ const struct cmd_entry cmd_lock_client_entry = { .tflag = CMD_CLIENT, - .flags = 0, + .flags = CMD_AFTERHOOK, .exec = cmd_lock_server_exec }; -- cgit