From f28b8c5f50ea6aa3d9b7754dafa9bb56a7b791a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 31 Jul 2012 00:42:35 +0300 Subject: Fix guildbot messages delay. --- src/guildmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/guildmanager.cpp') 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; -- cgit v1.2.3-70-g09d2