degesch: tiny miscellaneous fixes
This commit is contained in:
parent
ba1ac58d9d
commit
567ce62257
|
@ -5306,7 +5306,7 @@ irc_handle_topic (struct server *s, const struct irc_message *msg)
|
||||||
|
|
||||||
static struct irc_handler
|
static struct irc_handler
|
||||||
{
|
{
|
||||||
char *name;
|
const char *name;
|
||||||
void (*handler) (struct server *s, const struct irc_message *msg);
|
void (*handler) (struct server *s, const struct irc_message *msg);
|
||||||
}
|
}
|
||||||
g_irc_handlers[] =
|
g_irc_handlers[] =
|
||||||
|
@ -5666,7 +5666,7 @@ irc_handle_rpl_inviting (struct server *s, const struct irc_message *msg)
|
||||||
const char *channel_name = msg->params.vector[1];
|
const char *channel_name = msg->params.vector[1];
|
||||||
const char *nickname = msg->params.vector[2];
|
const char *nickname = msg->params.vector[2];
|
||||||
|
|
||||||
struct buffer *buffer;;
|
struct buffer *buffer;
|
||||||
if (!(buffer = str_map_find (&s->irc_buffer_map, channel_name)))
|
if (!(buffer = str_map_find (&s->irc_buffer_map, channel_name)))
|
||||||
buffer = s->buffer;
|
buffer = s->buffer;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue