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