summaryrefslogtreecommitdiff
path: root/src/stable/protocoltelnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable/protocoltelnet.cpp')
-rw-r--r--src/stable/protocoltelnet.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stable/protocoltelnet.cpp b/src/stable/protocoltelnet.cpp
index 9cf2a7b..77bc3dc 100644
--- a/src/stable/protocoltelnet.cpp
+++ b/src/stable/protocoltelnet.cpp
@@ -339,6 +339,12 @@ void Bu::ProtocolTelnet::flush()
339 pClient->flush(); 339 pClient->flush();
340} 340}
341 341
342void Bu::ProtocolTelnet::close()
343{
344 Bu::MutexLocker l( mWrite );
345 pClient->close();
346}
347
342void Bu::ProtocolTelnet::onWill( char cCode ) 348void Bu::ProtocolTelnet::onWill( char cCode )
343{ 349{
344 Bu::MutexLocker l( mWrite ); 350 Bu::MutexLocker l( mWrite );