summaryrefslogtreecommitdiffstats
path: root/src/server/mainwindow/mainwindow.cpp
diff options
context:
space:
mode:
authorsr2013-02-04 19:58:30 +0100
committersr2013-02-04 19:58:30 +0100
commit0ebe2946b0ff68743fde8dac4c429bc890094af0 (patch)
tree1c82d9e1b0af55af3b8274d14252d2417d8b74fb /src/server/mainwindow/mainwindow.cpp
parentcredits (diff)
downloadpvs2-0ebe2946b0ff68743fde8dac4c429bc890094af0.tar.gz
pvs2-0ebe2946b0ff68743fde8dac4c429bc890094af0.tar.xz
pvs2-0ebe2946b0ff68743fde8dac4c429bc890094af0.zip
...
Diffstat (limited to 'src/server/mainwindow/mainwindow.cpp')
-rw-r--r--src/server/mainwindow/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index 8c57b91..bbd6b33 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -475,7 +475,7 @@ void MainWindow::onClientAuthenticated(Client* client)
if ((*it)->isTutor())
{
if ((*it)->client() == NULL)
- deadTutor = (*it)->client();
+ deadTutor = *it;
else
hasActiveTutor = true;
}