| 63 | } |
| 64 | |
| 65 | bool ServerListCache::isFavorite(const std::string& serverAddress) const { |
| 66 | SRV_STR_MAP::const_iterator i = serverCache.find(serverAddress); |
| 67 | return i != serverCache.end() && i->second.favorite; |
| 68 | } |
| 69 | |
| 70 | bool ServerListCache::isRecent(const std::string& serverAddress) const { |
| 71 | SRV_STR_MAP::const_iterator i = serverCache.find(serverAddress); |