From a3886f2ff62cabdb912db7a0d9c163cbe96c0c40 Mon Sep 17 00:00:00 2001 From: Hibby Date: Sat, 21 Jan 2017 14:34:12 +0000 Subject: New upstream version 2.6 --- node.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'node.c') diff --git a/node.c b/node.c index 53c4e73..45fba2c 100644 --- a/node.c +++ b/node.c @@ -258,7 +258,11 @@ int main(int argc, char *argv[]) node_msg("Sorry, I'm not allowed to talk to you."); node_log(LOGLVL_LOGIN, "Login denied for %s @ %s", User.call, User.ul_name); node_logout("Login denied"); - } else if (strcmp(pw, "*") != 0) { + } + else if (User.ul_type == AF_AX25 || User.ul_type == AF_NETROM || User.ul_type == AF_ROSE) { + (strcmp(pw, "*") == 0); + } + else if (strcmp(pw, "*") != 0) { axio_printf(NodeIo,"*** Password required! If you don't have a password please email\n%s for a password you wish to use.", Email); axio_printf(NodeIo,"\nPassword: "); if ((User.ul_type == AF_INET) || (User.ul_type == AF_INET6)) { -- cgit v1.2.3