From 9816757232fc2f4246d6f40af432bfe711e64c14 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Thu, 23 May 2013 13:22:34 +0100 Subject: [PATCH] Passing a password to the /server command was ignored because the login method was not set. --- src/common/outbound.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/outbound.c b/src/common/outbound.c index b1861fb..60fe71f 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3035,6 +3035,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; -- 2.11.4.GIT