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
commita3886f2ff62cabdb912db7a0d9c163cbe96c0c40 (patch)
treea4bd37e319756475a2b8e8dc5f8d95029e91d52e /node.c
parent5752427e73adbb5e6d39f00a24e681c30ba8755d (diff)
New 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)) {