Allow comma again in several input functions

This commit is contained in:
Michiel Broek 2005-10-17 14:48:06 +00:00
parent ce6f83241b
commit 32e892d5b6
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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++;