diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-09 00:03:46 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-09 00:03:46 +0000 |
commit | 8bea491a572a4038ea23d38fb6b9691bbd3a44a3 (patch) | |
tree | b6cc9fee93ddb482573303244d29180a02afd89a /src/core/commands.h | |
parent | abb46a03131575d3d3c980b9813941671620c67b (diff) | |
download | irssi-8bea491a572a4038ea23d38fb6b9691bbd3a44a3.zip |
Moved is_base_command() from command completion to command_have_sub()
in core/commands.
/HELP <command with subcommands> works now right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@437 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/commands.h')
-rw-r--r-- | src/core/commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/commands.h b/src/core/commands.h index 29ddbfb4..3201c5ab 100644 --- a/src/core/commands.h +++ b/src/core/commands.h @@ -52,6 +52,7 @@ void command_unbind(const char *cmd, SIGNAL_FUNC func); void command_runsub(const char *cmd, const char *data, void *server, void *item); COMMAND_REC *command_find(const char *cmd); +int command_have_sub(const char *command); /* Specify options that command can accept. `options' contains list of options separated with space, each option can contain a special |