degesch: comments, no functional change
This commit is contained in:
parent
c0f4b554ef
commit
f032466307
|
@ -3809,6 +3809,7 @@ log_formatter (struct app_context *ctx,
|
||||||
&& !(flags & BUFFER_LINE_UNIMPORTANT);
|
&& !(flags & BUFFER_LINE_UNIMPORTANT);
|
||||||
bool important = (flags & BUFFER_LINE_HIGHLIGHT) || unseen_pm;
|
bool important = (flags & BUFFER_LINE_HIGHLIGHT) || unseen_pm;
|
||||||
if (ctx->beep_on_highlight && important)
|
if (ctx->beep_on_highlight && important)
|
||||||
|
// XXX: this may disturb any other foreground process
|
||||||
CALL (ctx->input, ding);
|
CALL (ctx->input, ding);
|
||||||
|
|
||||||
bool can_leak = false;
|
bool can_leak = false;
|
||||||
|
@ -6727,7 +6728,7 @@ irc_handle_part (struct server *s, const struct irc_message *msg)
|
||||||
hard_assert ((channel && buffer) ||
|
hard_assert ((channel && buffer) ||
|
||||||
(channel && !buffer) || (!channel && !buffer));
|
(channel && !buffer) || (!channel && !buffer));
|
||||||
|
|
||||||
// It would be is weird for this to be false
|
// It would be weird for this to be false
|
||||||
if (user && channel)
|
if (user && channel)
|
||||||
{
|
{
|
||||||
if (irc_is_this_us (s, msg->prefix))
|
if (irc_is_this_us (s, msg->prefix))
|
||||||
|
|
Loading…
Reference in New Issue