summaryrefslogtreecommitdiff
path: root/src/net/tmwa/guildmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/guildmanager.cpp')
-rw-r--r--src/net/tmwa/guildmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/guildmanager.cpp b/src/net/tmwa/guildmanager.cpp
index 9b584f14a..1b5582717 100644
--- a/src/net/tmwa/guildmanager.cpp
+++ b/src/net/tmwa/guildmanager.cpp
@@ -152,7 +152,7 @@ void GuildManager::requestGuildInfo()
if (!mGotName && !mSentNameRequest)
{
- if (!PacketLimiter::limitPackets(PACKET_WHISPER))
+ if (!PacketLimiter::limitPackets(PacketType::PACKET_WHISPER))
return;
send("!info " + toString(tick_time));
mRequest = true;
@@ -161,7 +161,7 @@ void GuildManager::requestGuildInfo()
}
else if (!mGotInfo && !mSentInfoRequest && !mSentNameRequest)
{
- if (!PacketLimiter::limitPackets(PACKET_WHISPER))
+ if (!PacketLimiter::limitPackets(PacketType::PACKET_WHISPER))
return;
send("!getonlineinfo " + toString(tick_time));
mRequest = true;
@@ -174,7 +174,7 @@ void GuildManager::slowLogic()
{
if (!mGotOnlineInfo && mGotName && mRequestTime < cur_time)
{
- if (!PacketLimiter::limitPackets(PACKET_WHISPER))
+ if (!PacketLimiter::limitPackets(PacketType::PACKET_WHISPER))
return;
send("!getonlineinfo " + toString(tick_time));
mRequest = true;