printformat_module("fe-common/silc", server, NULL, MSGLEVEL_CRAP,
SILCTXT_UNSET_AWAY);
+ server->usermode_away = FALSE;
} else {
/* Set the away message */
silc_client_set_away_message(silc_client, server->conn, (char *)data);
printformat_module("fe-common/silc", server, NULL, MSGLEVEL_CRAP,
SILCTXT_SET_AWAY, data);
+ server->usermode_away = TRUE;
}
signal_emit("away mode changed", 1, server);