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

client_on() still accepts a BOOL (not bool), so TRUE (not true) is correct

parent bf25c42b
No related branches found
No related tags found
No related merge requests found
......@@ -674,7 +674,7 @@ bool sbbs_t::answer()
}
SAFECOPY(client.addr,cid);
SAFECOPY(client.host,client_name);
client_on(client_socket,&client,true /* update */);
client_on(client_socket,&client,TRUE /* update */);
} else {
if(telnet_location[0]) { /* Telnet Location info provided */
lprintf(LOG_INFO, "Telnet Location: %s", telnet_location);
......@@ -706,7 +706,7 @@ bool sbbs_t::answer()
lprintf(LOG_NOTICE, "no Telnet commands received, reverting to Raw TCP mode");
telnet_mode |= TELNET_MODE_OFF;
client.protocol = "Raw";
client_on(client_socket, &client,/* update: */true);
client_on(client_socket, &client,/* update: */TRUE);
SAFECOPY(connection, client.protocol);
node_connection = NODE_CONNECTION_RAW;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment