Skip to content
Snippets Groups Projects
Commit 7e5a9722 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 a5a92c98
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #3709 passed
...@@ -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