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

Make the chat (F10) work even when user is not logged-in

A sysop can, and may want to, chat with a user before they succesfully login.
parent c238f591
Branches
Tags
No related merge requests found
...@@ -1200,7 +1200,7 @@ USAGE: ...@@ -1200,7 +1200,7 @@ USAGE:
uifc.msg("Error reading node data!"); uifc.msg("Error reading node data!");
continue; continue;
} }
if(node.status >= NODE_LOGON && node.status <= NODE_QUIET && node.useron) { if(node.status >= NODE_LOGON && node.status <= NODE_QUIET) {
int result = chat(&cfg,main_dflt,&node,&boxch,NULL); int result = chat(&cfg,main_dflt,&node,&boxch,NULL);
if(result != 0) if(result != 0)
uifc.msgf("Chat error: %d (%s)", result, strerror(errno)); uifc.msgf("Chat error: %d (%s)", result, strerror(errno));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment