mcabber/src/commands.c
changeset 1428 5667048423db
parent 1424 bb1cc8902d0e
child 1429 99d95d4ea806
--- a/mcabber/src/commands.c	Tue Feb 19 22:24:25 2008 +0100
+++ b/mcabber/src/commands.c	Tue Feb 19 22:56:18 2008 +0100
@@ -801,6 +801,11 @@
     return;
   }
 
+  // It makes sense to reset autoaway before changing the status
+  // (esp. for FIFO or remote commands) or the behaviour could be
+  // unexpected...
+  scr_CheckAutoAway(TRUE);
+
   paramlst = split_arg(arg, 2, 1); // status, message
   status = *paramlst;
   msg = *(paramlst+1);