Merge pull request #618 from orium/server-command-password-fix

Fix issue with /server command
This commit is contained in:
TingPing 2013-05-23 07:28:58 -07:00
commit 44a88fc1ab
1 changed files with 1 additions and 0 deletions

View File

@ -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;