virtual void OnLookupComplete(const std::string &result, unsigned int ttl, bool cached)
{
@@ -130,7+135,6 @@ class CGIResolver : public Resolver
{
User* them = ServerInstance->FindUUID(theiruid);
if (them)
- if (them)
{
if (notify)
ServerInstance->SNO->WriteToSnoMask('a', "Connecting user %s detected as using CGI:IRC (%s), but their host can't be resolved from their %s!", them->nick.c_str(), them->host.c_str(), typ.c_str());
@@ -139,15+143,26 @@ class CGIResolver : public Resolver
virtual ~CGIResolver()
{
+ User* them = ServerInstance->FindUUID(theiruid);