diff options
-rw-r--r-- | pttbbs/mbbsd/io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/io.c b/pttbbs/mbbsd/io.c index a7aad6bc..ef5d76da 100644 --- a/pttbbs/mbbsd/io.c +++ b/pttbbs/mbbsd/io.c @@ -317,6 +317,10 @@ igetch() } } return ch; + case IAC: + // disallow user input telnet protocol leading char IAC chr(255) + // TODO parse telnet protocol + continue; default: return ch; |