summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
authorHibby <d@vehibberd.com>2017-01-21 14:34:12 +0000
committerHibby <d@vehibberd.com>2017-01-21 14:34:12 +0000
commit374dc15bb0cd3ce686ace56248f2f6eb00c7dbf0 (patch)
tree8f68e5904475ce7ac5a99f0c00e3e9695d3cd49e /node.c
parent0fff0b425e261ba80f0888f49267de16a5e90100 (diff)
parenta3886f2ff62cabdb912db7a0d9c163cbe96c0c40 (diff)
Merge tag 'upstream/2.6'
Upstream version 2.6
Diffstat (limited to 'node.c')
-rw-r--r--node.c6
1 files changed, 5 insertions, 1 deletions
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)) {