Skip to content

Commit

Permalink
Fixed bug in telnet negotiation
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Jun 30, 2011
1 parent 579afc0 commit 020463a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions telnet_phases.cpp
Expand Up @@ -428,8 +428,7 @@ void CMUSHclientDoc::Phase_DONT (const unsigned char c)

TRACE1 ("<%d>", c);
m_phase = NONE;
unsigned char p [3] = { IAC, WONT, c };
SendPacket (p, sizeof p);
Send_IAC_WONT (c);

m_nCount_IAC_DONT++;
m_bClient_got_IAC_DONT [c] = true;
Expand Down

0 comments on commit 020463a

Please sign in to comment.