diff options
author | James Booth <boothj5@gmail.com> | 2012-07-29 00:37:54 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-07-29 00:37:54 +0100 |
commit | c738966d74899dc4aa81799690effb204db6675e (patch) | |
tree | f0676933467bdee8e0e35ed5c1d3715f3d6a4eca /src/command.c | |
parent | 279737badaebedccd9ce4f5e0c8baf166a346055 (diff) | |
download | profani-tty-c738966d74899dc4aa81799690effb204db6675e.tar.gz |
Fixed command number bug
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c index 9ae60488..774c4264 100644 --- a/src/command.c +++ b/src/command.c @@ -74,7 +74,6 @@ static struct cmd_t commands[] = { { "/connect", _cmd_connect }, { "/dnd", _cmd_dnd }, { "/flash", _cmd_set_flash }, - { "/help", _cmd_help }, { "/prefs", _cmd_prefs }, { "/msg", _cmd_msg }, { "/online", _cmd_online }, @@ -84,9 +83,10 @@ static struct cmd_t commands[] = { { "/chlog", _cmd_set_chlog }, { "/who", _cmd_who }, { "/xa", _cmd_xa }, + { "/help", _cmd_help } }; -static const int num_cmds = 17; +static const int num_cmds = 18; gboolean process_input(char *inp) |