diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 12:26:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 12:26:54 +0300 |
commit | a75b710fbde53288d250d287eb61254e2adb3012 (patch) | |
tree | f7f1d63ebf54b576d503a7dbb56e80213145bb24 /src/net/tmwa | |
parent | 6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4 (diff) | |
download | plus-a75b710fbde53288d250d287eb61254e2adb3012.tar.gz plus-a75b710fbde53288d250d287eb61254e2adb3012.tar.bz2 plus-a75b710fbde53288d250d287eb61254e2adb3012.tar.xz plus-a75b710fbde53288d250d287eb61254e2adb3012.zip |
User full enum name in packets type.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/guildmanager.cpp | 6 |
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; |