summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 23:17:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commitc88734cc2b8a0785c23531ce70bf703887aa0c4b (patch)
treecdb4448b0bea29f9d9c61401ce91a00f92e2a5f5 /src/guildmanager.cpp
parentd3994b21fda3e7d8ba417a382fc8f065a7bf1c52 (diff)
downloadmanaplus-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.gz
manaplus-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.bz2
manaplus-c88734cc2b8a0785c23531ce70bf703887aa0c4b.tar.xz
manaplus-c88734cc2b8a0785c23531ce70bf703887aa0c4b.zip
remove most static methods from Client.
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp
index 7057aa311..57c687e12 100644
--- a/src/guildmanager.cpp
+++ b/src/guildmanager.cpp
@@ -136,7 +136,7 @@ void GuildManager::requestGuildInfo()
if (!mGotName && !mSentNameRequest)
{
- if (!Client::limitPackets(PACKET_WHISPER))
+ if (!client->limitPackets(PACKET_WHISPER))
return;
send("!info " + toString(tick_time));
mRequest = true;
@@ -145,7 +145,7 @@ void GuildManager::requestGuildInfo()
}
else if (!mGotInfo && !mSentInfoRequest && !mSentNameRequest)
{
- if (!Client::limitPackets(PACKET_WHISPER))
+ if (!client->limitPackets(PACKET_WHISPER))
return;
send("!getonlineinfo " + toString(tick_time));
mRequest = true;
@@ -158,7 +158,7 @@ void GuildManager::slowLogic()
{
if (!mGotOnlineInfo && mGotName && mRequestTime < cur_time)
{
- if (!Client::limitPackets(PACKET_WHISPER))
+ if (!client->limitPackets(PACKET_WHISPER))
return;
send("!getonlineinfo " + toString(tick_time));
mRequest = true;