From 1a5f29542ff55be2bf31e164448c0c6e8179ee38 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 2 Jan 2011 04:10:40 +0100 Subject: Killed the 'commands' namespace. --- telnet_connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'telnet_connection.cpp') 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 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)); -- cgit v1.2.3