diff options
Diffstat (limited to 'src/Client')
-rw-r--r-- | src/Client/CommandParser.cpp | 2 | ||||
-rw-r--r-- | src/Client/CommandParser.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Client/CommandParser.cpp b/src/Client/CommandParser.cpp index 47c06c3..22de6e9 100644 --- a/src/Client/CommandParser.cpp +++ b/src/Client/CommandParser.cpp @@ -95,7 +95,7 @@ void CommandParser::exitCommand(const std::vector<std::string>&) { Common::Request::DisconnectRequest::send(connection, *requestManager, sigc::mem_fun(this, &CommandParser::requestFinished)); } -void CommandParser::coreStatusRequestFinished(const Net::Packets::CoreStatusPacket &packet) { +void CommandParser::coreStatusRequestFinished(const Net::Packets::HostStatusPacket &packet) { std::cout << "Server status:" << std::endl; if(packet.getUptime()) { diff --git a/src/Client/CommandParser.h b/src/Client/CommandParser.h index 34f7a28..78ed6fa 100644 --- a/src/Client/CommandParser.h +++ b/src/Client/CommandParser.h @@ -34,7 +34,7 @@ namespace Net { class Connection; namespace Packets { -class CoreStatusPacket; +class HostStatusPacket; } } @@ -71,7 +71,7 @@ class CommandParser { void statusCommand(const std::vector<std::string>&); void exitCommand(const std::vector<std::string>&); - void coreStatusRequestFinished(const Net::Packets::CoreStatusPacket &packet); + void coreStatusRequestFinished(const Net::Packets::HostStatusPacket &packet); void requestFinished() { activeRequests--; |