summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index eb44a0081..a4ea81bfa 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -601,7 +601,7 @@ void WhoIsOnline::download()
else
{
if (PacketLimiter::limitPackets(PACKET_ONLINELIST))
- Net::getPlayerHandler()->requestOnlineList();
+ playerHandler->requestOnlineList();
}
}
@@ -701,7 +701,7 @@ void WhoIsOnline::action(const ActionEvent &event)
if (PacketLimiter::limitPackets(PACKET_ONLINELIST))
{
mUpdateTimer = cur_time;
- Net::getPlayerHandler()->requestOnlineList();
+ playerHandler->requestOnlineList();
}
}
}