aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc_commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc_commands.c b/irc_commands.c
index d7b31406..e8936a6d 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -744,9 +744,9 @@ static void irc_cmd_away(irc_t *irc, char **cmd)
away[j] = '\0';
if (set_getbool(&irc->b->set, "strict_away")) {
- irc_send_num(irc, 306, ":You're now away: %s", away);
- } else {
irc_send_num(irc, 306, ":You have been masked as being away");
+ } else {
+ irc_send_num(irc, 306, ":You're now away: %s", away);
}
set_setstr(&irc->b->set, "away", away);
} else {