comparison mcabber/src/commands.c @ 1368:23afeb5c555b

Don't strip quotes from a status message (Suggested by bb)
author Mikael Berthe <mikael@lilotux.net>
date Wed, 14 Nov 2007 19:25:15 +0100
parents c7e709719c43
children cd9182f0b5c7
comparison
equal deleted inserted replaced
1367:cd0d63024923 1368:23afeb5c555b
798 if (!jb_getonline()) { 798 if (!jb_getonline()) {
799 scr_LogPrint(LPRINT_NORMAL, "You are not connected."); 799 scr_LogPrint(LPRINT_NORMAL, "You are not connected.");
800 return; 800 return;
801 } 801 }
802 802
803 paramlst = split_arg(arg, 2, 0); // status, message 803 paramlst = split_arg(arg, 2, 1); // status, message
804 status = *paramlst; 804 status = *paramlst;
805 msg = *(paramlst+1); 805 msg = *(paramlst+1);
806 806
807 if (!status) { 807 if (!status) {
808 free_arg_lst(paramlst); 808 free_arg_lst(paramlst);