fixed off by 1 args bug

This commit is contained in:
Dimitar Dimitrov 2013-07-22 13:52:21 +01:00
parent 78f02d16dd
commit 15261c173d

2
bot.sh
View File

@ -47,7 +47,7 @@ do
./modules/help.sh $who $from >> $input ./modules/help.sh $who $from >> $input
continue continue
fi fi
./modules/$com.sh $who $from $(echo "$will" | cut -d " " -f3-99) >> $input ./modules/$com.sh $who $from $(echo "$will" | cut -d " " -f2-99) >> $input
;; ;;
*) *)
echo "$res" echo "$res"