degesch: fix logging of RPL_INVITING

This commit is contained in:
Přemysl Eric Janouch 2015-09-24 00:35:30 +02:00
parent 1613e75a48
commit f20c6fb28e

View File

@ -6225,8 +6225,8 @@ irc_handle_rpl_inviting (struct server *s, const struct irc_message *msg)
if (msg->params.len < 3)
return;
const char *channel_name = msg->params.vector[1];
const char *nickname = msg->params.vector[2];
const char *nickname = msg->params.vector[1];
const char *channel_name = msg->params.vector[2];
struct buffer *buffer;
if (!(buffer = str_map_find (&s->irc_buffer_map, channel_name)))