Skip to content
Snippets Groups Projects
Commit 8f9d12c3 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Whoops, missed this bit.

Just running git commit --amend doesn't do -a it seems. :)
parent a104bab1
No related branches found
No related tags found
No related merge requests found
Pipeline #5278 failed
......@@ -319,6 +319,16 @@ bool sbbs_t::answer()
lprintf(LOG_DEBUG, "%04d SSH [%s] term: %s", client_socket, client.addr, terminal);
}
pthread_mutex_unlock(&ssh_mutex);
if(REALSYSOP && (cfg.sys_misc&SM_SYSPASSLOGIN) && (cfg.sys_misc&SM_R_SYSOP)) {
rioctl(IOFI); /* flush input buffer */
if(!chksyspass()) {
bputs(text[InvalidLogon]);
hangup();
useron.number=0;
return(false);
}
}
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment