Skip to content
Snippets Groups Projects
Commit a4abff4d authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix previous commit: node status range LOGON <-> QUIET

parent 0d87641d
No related branches found
No related tags found
No related merge requests found
......@@ -1192,7 +1192,7 @@ USAGE:
uifc.msg("Error reading node data!");
continue;
}
if(node.status >= NODE_INUSE && node.status <= NODE_QUIET && node.useron) {
if(node.status >= NODE_LOGON && node.status <= NODE_QUIET && node.useron) {
int result = chat(&cfg,main_dflt,&node,&boxch,NULL);
if(result != 0)
uifc.msgf("Chat error: %d (%s)", result, strerror(errno));
......@@ -1261,7 +1261,7 @@ USAGE:
continue;
if(j<=cfg.sys_nodes && j>0) {
if(node.status >= NODE_INUSE && node.status <= NODE_QUIET && node.useron) {
if(node.status >= NODE_LOGON && node.status <= NODE_QUIET && node.useron) {
i=0;
strcpy(opt[i++],"Edit User");
strcpy(opt[i++],"Spy on node");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment