diff options
author | TingPing <tngpng@gmail.com> | 2013-05-23 07:28:58 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-05-23 07:28:58 -0700 |
commit | 44a88fc1ab604de35f5319eedac73c7211db992f (patch) | |
tree | 9ce092e512962d86574e82cc68418c38b6522a9f /src/common/outbound.c | |
parent | fcdd85ae5e7d69a1890c81a4789423f5bbfb72ae (diff) | |
parent | d3ce4f64f6c4e53348c73304f8f6e112401dc8b3 (diff) |
Merge pull request #618 from orium/server-command-password-fix
Fix issue with /server command
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r-- | src/common/outbound.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index 255e809c..98384929 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -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; |