Skip to content
Snippets Groups Projects
Commit 665f7546 authored by echicken's avatar echicken
Browse files

Send password instead of realname if TG_SENDPASS flag is passed along with TG_RLOGIN.

parent e7544bba
Branches
Tags
No related merge requests found
......@@ -123,7 +123,11 @@ void sbbs_t::telnet_gate(char* destaddr, ulong mode)
*(p++)=0;
p+=sprintf(p,"%s",useron.alias);
p++; // Add NULL
p+=sprintf(p,"%s",useron.name);
if(mode&TG_SENDPASS) {
p+=sprintf(p,"%s",useron.pass);
} else {
p+=sprintf(p,"%s",useron.name);
}
p++; // Add NULL
p+=sprintf(p,"%s/57600",terminal);
p++; // Add NULL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment