summaryrefslogtreecommitdiffstats
path: root/src/Common/RequestHandlers
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-25 13:36:02 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-25 13:36:02 +0200
commitaf0f84058d322d68cbbff98ef272dd2bcd0f692c (patch)
tree23b1fb83790f2100ae2d16eb0af71122e88cba0a /src/Common/RequestHandlers
parent3a8e13c8ef66a4fdb06b2051bd7ab95ca24cc81c (diff)
downloadmad-af0f84058d322d68cbbff98ef272dd2bcd0f692c.tar
mad-af0f84058d322d68cbbff98ef272dd2bcd0f692c.zip
Daemon-Host kann jetzt heruntergefahren und neu gestartet werden
Diffstat (limited to 'src/Common/RequestHandlers')
-rw-r--r--src/Common/RequestHandlers/StatusRequestHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/RequestHandlers/StatusRequestHandler.cpp b/src/Common/RequestHandlers/StatusRequestHandler.cpp
index ad37964..dbdf9e1 100644
--- a/src/Common/RequestHandlers/StatusRequestHandler.cpp
+++ b/src/Common/RequestHandlers/StatusRequestHandler.cpp
@@ -31,7 +31,7 @@ namespace RequestHandlers {
void StatusRequestHandler::handlePacket(Net::Connection *connection, const Net::Packet &packet) {
if(packet.getType() != Net::Packet::STATUS) {
Logger::log(Logger::ERROR, "Received an unexpected packet.");
- connection->send(Net::Packets::ErrorPacket(Net::Packet::ERROR, packet.getRequestId(), Common::Exception(Common::Exception::UNEXPECTED_PACKET)));
+ connection->send(Net::Packets::ErrorPacket(Net::Packet::ERROR, packet.getRequestId(), Exception(Exception::UNEXPECTED_PACKET)));
signalFinished().emit();
return;