From ab99bf75179b5d7635c2bf919ab506496348eeae Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 4 Mar 2013 16:30:36 -0500 Subject: Use key on new servers --- src/common/outbound.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common') diff --git a/src/common/outbound.c b/src/common/outbound.c index 88cafa85..cc023889 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3166,6 +3166,8 @@ cmd_server (struct session *sess, char *tbuf, char *word[], char *word_eol[]) { sess->willjoinchannel[0] = '#'; safe_strcpy ((sess->willjoinchannel + 1), channel, (CHANLEN - 1)); + if (key) + safe_strcpy (sess->channelkey, key, 64); } /* support +7000 style ports like mIRC */ -- cgit 1.4.1