summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2017-06-08 23:05:27 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2017-06-08 23:05:27 +0200
commit829b3935d45b274ebe78084cad5c9948b57f0d7e (patch)
tree4d7a19dae692cb33b050b24bf5db1fcbc23669e4
parent1523bf7795cf9424859c2147e3004e175d4844fd (diff)
downloadmanager-829b3935d45b274ebe78084cad5c9948b57f0d7e.tar.gz
manager-829b3935d45b274ebe78084cad5c9948b57f0d7e.zip
Fix invalid reference caused through ClonkParser::clientRemoved
-rw-r--r--src/ClonkInterface.cpp2
-rw-r--r--src/ClonkInterface.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ClonkInterface.cpp b/src/ClonkInterface.cpp
index 2642568..472d672 100644
--- a/src/ClonkInterface.cpp
+++ b/src/ClonkInterface.cpp
@@ -88,7 +88,7 @@ void ClonkParser::clientMessage(ClientInfo &client, const QString &message, Clon
void ClonkParser::clientConnected(const ClientInfo &client) { dispatch(clientConnected(client)) }
-void ClonkParser::clientRemoved(const ClientInfo &client, const QString& reason) { dispatch(clientRemoved(client, reason)) }
+void ClonkParser::clientRemoved(const ClientInfo client, const QString& reason) { dispatch(clientRemoved(client, reason)) }
void ClonkParser::clientStateChanged(const ClientInfo &client, bool activated) { dispatch(clientStateChanged(client, activated)) }
diff --git a/src/ClonkInterface.hpp b/src/ClonkInterface.hpp
index 86f7fc3..a175d3b 100644
--- a/src/ClonkInterface.hpp
+++ b/src/ClonkInterface.hpp
@@ -84,7 +84,7 @@ protected:
void watchdog(const QString &id);
void clientMessage(ClientInfo &client, const QString &message, ClonkOutputInterface::MessageType type, const QTime &time);
void clientConnected(const ClientInfo &client);
- void clientRemoved(const ClientInfo &client, const QString &reason);
+ void clientRemoved(const ClientInfo client, const QString& reason);
void clientStateChanged(const ClientInfo &client, bool activated);
void gameLoading();
void gameStarted();