mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-26 05:55:38 +00:00
Use key on new servers
This commit is contained in:
1 parent
d1c36f170b
commit
ab99bf7517
1 file changed
+2
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user