about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-07-29 00:37:54 +0100
committerJames Booth <boothj5@gmail.com>2012-07-29 00:37:54 +0100
commitc738966d74899dc4aa81799690effb204db6675e (patch)
treef0676933467bdee8e0e35ed5c1d3715f3d6a4eca
parent279737badaebedccd9ce4f5e0c8baf166a346055 (diff)
downloadprofani-tty-c738966d74899dc4aa81799690effb204db6675e.tar.gz
Fixed command number bug
-rw-r--r--configure.ac2
-rw-r--r--src/command.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index eeac58bb..a01c0fc5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
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)