mcabber/src/commands.c
changeset 1368 23afeb5c555b
parent 1365 c7e709719c43
child 1377 cd9182f0b5c7
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);