mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 03:02:30 +01:00
Passing a password to the /server command was ignored because the login method
was not set.
This commit is contained in:
parent
fcdd85ae5e
commit
d3ce4f64f6
@ -3249,6 +3249,7 @@ cmd_server (struct session *sess, char *tbuf, char *word[], char *word_eol[])
|
||||
if (*pass)
|
||||
{
|
||||
safe_strcpy (serv->password, pass, sizeof (serv->password));
|
||||
serv->loginmethod = LOGIN_PASS;
|
||||
}
|
||||
#ifdef USE_OPENSSL
|
||||
serv->use_ssl = use_ssl;
|
||||
|
Loading…
Reference in New Issue
Block a user