diff options
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 444305d5d5..cd4008d7cc 100644 --- a/lib/command.c +++ b/lib/command.c @@ -758,8 +758,7 @@ static struct graph *cmd_node_graph(vector v, enum node_type ntype) static int cmd_try_do_shortcut(enum node_type node, char *first_word) { if (first_word != NULL && node != AUTH_NODE && node != VIEW_NODE - && node != AUTH_ENABLE_NODE && node != ENABLE_NODE - && 0 == strcmp("do", first_word)) + && node != AUTH_ENABLE_NODE && 0 == strcmp("do", first_word)) return 1; return 0; } |
