From 45e2415b715756aa0f0df14ae310a5ee1d89862d Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 29 Jul 2012 00:33:10 +0100 Subject: [PATCH] Fixed num commands --- src/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/command.c b/src/command.c index 26fb68c8..fd9d4e9a 100644 --- a/src/command.c +++ b/src/command.c @@ -76,7 +76,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 }, { "/tiny", _cmd_tiny }, @@ -87,9 +86,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 = 19; gboolean process_input(char *inp)