summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-31 00:42:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-31 00:42:35 +0300
commitf28b8c5f50ea6aa3d9b7754dafa9bb56a7b791a9 (patch)
tree40c95d8508a1cca9327d9d91c19e03261f7aca58 /src/guildmanager.cpp
parent8cc6679b676103c7c6696947ea43ad439e9754c5 (diff)
downloadplus-f28b8c5f50ea6aa3d9b7754dafa9bb56a7b791a9.tar.gz
plus-f28b8c5f50ea6aa3d9b7754dafa9bb56a7b791a9.tar.bz2
plus-f28b8c5f50ea6aa3d9b7754dafa9bb56a7b791a9.tar.xz
plus-f28b8c5f50ea6aa3d9b7754dafa9bb56a7b791a9.zip
Fix guildbot messages delay.
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp
index 485320130..38cf0818d 100644
--- a/src/guildmanager.cpp
+++ b/src/guildmanager.cpp
@@ -131,7 +131,7 @@ void GuildManager::requestGuildInfo()
if (!mGotName && !mSentNameRequest)
{
- if (!Client::limitPackets(PACKET_CHAT))
+ if (!Client::limitPackets(PACKET_WHISPER))
return;
send("!info " + toString(tick_time));
mRequest = true;
@@ -139,7 +139,7 @@ void GuildManager::requestGuildInfo()
}
else if (!mGotInfo && !mSentInfoRequest && !mSentNameRequest)
{
- if (!Client::limitPackets(PACKET_CHAT))
+ if (!Client::limitPackets(PACKET_WHISPER))
return;
send("!getonlineinfo " + toString(tick_time));
mRequest = true;