Mercurial > ~mikael > mcabber > hg
diff mcabber/src/commands.c @ 677:633a0522bd37
Using "/status invisible -" did not clear the status message
Thanks to pmw for the report.
Now the general status message is updated even when the requested status
is "invisible".
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 28 Jan 2006 11:07:02 +0100 |
parents | e61aa455c61b |
children | 8dc602a246a4 |
line wrap: on
line diff
--- a/mcabber/src/commands.c Thu Jan 26 23:14:17 2006 +0100 +++ b/mcabber/src/commands.c Sat Jan 28 11:07:02 2006 +0100 @@ -462,11 +462,10 @@ return; } - // Use provided message, unless requested status is "invisible" - if (msg && st != invisible) { - if (!*msg) msg = NULL; - } else + // Use provided message + if (msg && !*msg) { msg = NULL; + } // If a recipient is specified, let's don't use default status messages if (recipient && !msg)