1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -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.
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_HEADERS([src/config.h])
AC_CONFIG_AUX_DIR([build-aux])

View File

@ -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)