diff options
Diffstat (limited to 'telnet_connection.cpp')
-rw-r--r-- | telnet_connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telnet_connection.cpp b/telnet_connection.cpp index c9089a9..2cc723e 100644 --- a/telnet_connection.cpp +++ b/telnet_connection.cpp @@ -34,9 +34,9 @@ void telnet::Connection::handle_read(const boost::system::error_code& error, siz std::vector<std::string> r; try { - commands::Commands cmd(socket.get_io_service(), args); + Commands cmd(socket.get_io_service(), args); r = cmd(); - } catch(commands::CommandException& ce) { + } catch(CommandException& ce) { std::string s(ce.what()); s += '\n'; boost::asio::write(socket, boost::asio::buffer(s)); |