From 7337007fe2a9b633b42dcc935b8eb4244335827a Mon Sep 17 00:00:00 2001 From: TingPing Date: Sat, 11 Jan 2014 16:27:34 -0500 Subject: ... and ignore blank network passwords --- src/common/outbound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/outbound.c') diff --git a/src/common/outbound.c b/src/common/outbound.c index 5047bfcd..7910eed4 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3395,7 +3395,7 @@ cmd_server (struct session *sess, char *tbuf, char *word[], char *word_eol[]) { /* If part of a known network, login like normal */ net = servlist_net_find_from_server (server_name); - if (net) + if (net && net->pass && *net->pass) { safe_strcpy (serv->password, net->pass, sizeof (serv->password)); serv->loginmethod = net->logintype; -- cgit 1.4.1