comparison mcabber/src/commands.c @ 1429:99d95d4ea806

No need to explicitly reset auto-away for directed presence messages
author Mikael Berthe <mikael@lilotux.net>
date Wed, 20 Feb 2008 07:49:11 +0100
parents 5667048423db
children 12847b0ea8c9
comparison
equal deleted inserted replaced
1428:5667048423db 1429:99d95d4ea806
802 } 802 }
803 803
804 // It makes sense to reset autoaway before changing the status 804 // It makes sense to reset autoaway before changing the status
805 // (esp. for FIFO or remote commands) or the behaviour could be 805 // (esp. for FIFO or remote commands) or the behaviour could be
806 // unexpected... 806 // unexpected...
807 scr_CheckAutoAway(TRUE); 807 if (!recipient)
808 scr_CheckAutoAway(TRUE);
808 809
809 paramlst = split_arg(arg, 2, 1); // status, message 810 paramlst = split_arg(arg, 2, 1); // status, message
810 status = *paramlst; 811 status = *paramlst;
811 msg = *(paramlst+1); 812 msg = *(paramlst+1);
812 813