Handle quotes in group commands
authorMikael Berthe <mikael@lilotux.net>
Sun, 31 Aug 2008 12:20:54 +0200
changeset 1508 86620c83123b
parent 1507 3de24d857ef7
child 1509 189ffdd944b4
child 1510 f6d4e20b9caa
Handle quotes in group commands Now it is possible to do things like /group fold "" to shrink the default group.
mcabber/src/commands.c
--- 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);