summaryrefslogtreecommitdiff
path: root/telnet_connection.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-01-02 04:10:40 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2011-01-02 04:10:40 +0100
commit1a5f29542ff55be2bf31e164448c0c6e8179ee38 (patch)
tree8bb4613d4b18d2d6cf6c76eab4d826fa88634b47 /telnet_connection.cpp
parente19efcb8e7ba2cf4d4ce59c5f76e78a41a19ba24 (diff)
Killed the 'commands' namespace.
Diffstat (limited to 'telnet_connection.cpp')
-rw-r--r--telnet_connection.cpp4
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));