degesch: comments, no functional change

This commit is contained in:
Přemysl Eric Janouch 2016-10-23 16:30:44 +02:00
parent c0f4b554ef
commit f032466307
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 2 additions and 1 deletions

View File

@ -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))