1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fixed command number bug

This commit is contained in:
James Booth 2012-07-29 00:37:54 +01:00
parent 279737bada
commit c738966d74
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ([2.65]) AC_PREREQ([2.65])
AC_INIT([profanity], [0.1.2], [boothj5web@gmail.com]) AC_INIT([profanity], [0.1.3], [boothj5web@gmail.com])
AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_HEADERS([src/config.h]) AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_AUX_DIR([build-aux])

View File

@ -74,7 +74,6 @@ static struct cmd_t commands[] = {
{ "/connect", _cmd_connect }, { "/connect", _cmd_connect },
{ "/dnd", _cmd_dnd }, { "/dnd", _cmd_dnd },
{ "/flash", _cmd_set_flash }, { "/flash", _cmd_set_flash },
{ "/help", _cmd_help },
{ "/prefs", _cmd_prefs }, { "/prefs", _cmd_prefs },
{ "/msg", _cmd_msg }, { "/msg", _cmd_msg },
{ "/online", _cmd_online }, { "/online", _cmd_online },
@ -84,9 +83,10 @@ static struct cmd_t commands[] = {
{ "/chlog", _cmd_set_chlog }, { "/chlog", _cmd_set_chlog },
{ "/who", _cmd_who }, { "/who", _cmd_who },
{ "/xa", _cmd_xa }, { "/xa", _cmd_xa },
{ "/help", _cmd_help }
}; };
static const int num_cmds = 17; static const int num_cmds = 18;
gboolean gboolean
process_input(char *inp) process_input(char *inp)