changeset 1508:86620c83123b

Handle quotes in group commands Now it is possible to do things like /group fold "" to shrink the default group.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 31 Aug 2008 12:20:54 +0200
parents 3de24d857ef7
children 189ffdd944b4 f6d4e20b9caa
files mcabber/src/commands.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/commands.c	Sun Aug 31 12:18:09 2008 +0200
+++ b/mcabber/src/commands.c	Sun Aug 31 12:20:54 2008 +0200
@@ -1033,7 +1033,7 @@
   if (!current_buddy)
     return;
 
-  paramlst = split_arg(arg, 2, 1); // subcmd, [arg]
+  paramlst = split_arg(arg, 2, 0); // subcmd, [arg]
   subcmd = *paramlst;
   arg = *(paramlst+1);