degesch: fix warnings
This commit is contained in:
parent
29da71800a
commit
40510e26c3
@ -2191,7 +2191,7 @@ irc_handle_quit (struct app_context *ctx, const struct irc_message *msg)
|
|||||||
if (buffer)
|
if (buffer)
|
||||||
{
|
{
|
||||||
buffer_send (ctx, buffer, BUFFER_LINE_QUIT, 0,
|
buffer_send (ctx, buffer, BUFFER_LINE_QUIT, 0,
|
||||||
msg->prefix, message, "");
|
msg->prefix, message, "%s", "");
|
||||||
|
|
||||||
// TODO: set some kind of a flag in the buffer and when the user
|
// TODO: set some kind of a flag in the buffer and when the user
|
||||||
// reappers on a channel (JOIN), log a "is back online" message.
|
// reappers on a channel (JOIN), log a "is back online" message.
|
||||||
@ -2205,7 +2205,7 @@ irc_handle_quit (struct app_context *ctx, const struct irc_message *msg)
|
|||||||
buffer = str_map_find (&ctx->irc_buffer_map, iter->channel->name);
|
buffer = str_map_find (&ctx->irc_buffer_map, iter->channel->name);
|
||||||
if (buffer)
|
if (buffer)
|
||||||
buffer_send (ctx, buffer, BUFFER_LINE_QUIT, 0,
|
buffer_send (ctx, buffer, BUFFER_LINE_QUIT, 0,
|
||||||
msg->prefix, message, "");
|
msg->prefix, message, "%s", "");
|
||||||
|
|
||||||
// This destroys "iter" which doesn't matter to us
|
// This destroys "iter" which doesn't matter to us
|
||||||
irc_remove_user_from_channel (user, iter->channel);
|
irc_remove_user_from_channel (user, iter->channel);
|
||||||
|
Loading…
Reference in New Issue
Block a user