summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-09-24 00:35:30 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-09-24 15:41:39 +0200
commitf20c6fb28ec2a4fe4290e75c5f00dcf48e3793a3 (patch)
tree56b88b5b800ef9268d5668fc8b813fdb9c339f1e
parent1613e75a4809dd7d37c5b70cbb48d0d6d728c118 (diff)
downloadxK-f20c6fb28ec2a4fe4290e75c5f00dcf48e3793a3.tar.gz
xK-f20c6fb28ec2a4fe4290e75c5f00dcf48e3793a3.tar.xz
xK-f20c6fb28ec2a4fe4290e75c5f00dcf48e3793a3.zip
degesch: fix logging of RPL_INVITING
-rw-r--r--degesch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/degesch.c b/degesch.c
index 3896d74..030d37b 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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)))