Skip to content

Commit 020463a

Browse files
committed
Fixed bug in telnet negotiation
1 parent 579afc0 commit 020463a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

telnet_phases.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,7 @@ void CMUSHclientDoc::Phase_DONT (const unsigned char c)
428428

429429
TRACE1 ("<%d>", c);
430430
m_phase = NONE;
431-
unsigned char p [3] = { IAC, WONT, c };
432-
SendPacket (p, sizeof p);
431+
Send_IAC_WONT (c);
433432

434433
m_nCount_IAC_DONT++;
435434
m_bClient_got_IAC_DONT [c] = true;

0 commit comments

Comments
 (0)