Allow comma again in several input functions
This commit is contained in:
parent
ce6f83241b
commit
32e892d5b6
@ -26,6 +26,7 @@ v0.81.2 14-Oct-2005.
|
||||
mbsebbs:
|
||||
Accepts connections via ssh.
|
||||
Log close message sent to the user.
|
||||
Allow comma again in several input functions.
|
||||
|
||||
mbnewusr:
|
||||
Accepts connections via ssh.
|
||||
|
@ -410,7 +410,7 @@ void GetstrC(char *sStr, int iMaxlen)
|
||||
PUTCHAR('\007');
|
||||
}
|
||||
|
||||
if ((ch > 31) && (ch < 127) && (ch != ',')) {
|
||||
if ((ch > 31) && (ch < 127)) {
|
||||
if (iPos <= iMaxlen) {
|
||||
iPos++;
|
||||
snprintf(sStr + strlen(sStr), 5, "%c", ch);
|
||||
@ -688,7 +688,7 @@ void GetnameNE(char *sStr, int iMaxlen)
|
||||
putchar('\007');
|
||||
}
|
||||
|
||||
if ((ch > 31) && (ch < 127) && (ch != ',')) {
|
||||
if ((ch > 31) && (ch < 127)) {
|
||||
if (iPos < iMaxlen) {
|
||||
iPos++;
|
||||
|
||||
|
Reference in New Issue
Block a user