]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Merge pull request #677 from Robby-/master-dnsblzline
authorPeter Powell <petpow@saberuk.com>
Wed, 12 Jul 2017 14:04:01 +0000 (15:04 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Jul 2017 14:04:01 +0000 (15:04 +0100)
[master] m_dnsbl: Correct the address in the Z-line snomask message.

src/modules/m_dnsbl.cpp

index 7b0f061912a0e764ae38a1976fef03921987a70e..752a0d7a5997a14ba39845295f7cf6bf3886612b 100644 (file)
@@ -183,7 +183,7 @@ class DNSBLResolver : public DNS::Request
                                        if (ServerInstance->XLines->AddLine(zl,NULL))
                                        {
                                                std::string timestr = InspIRCd::TimeString(zl->expiry);
-                                               ServerInstance->SNO->WriteGlobalSno('x',"Z:line added due to DNSBL match on *@%s to expire on %s: %s",
+                                               ServerInstance->SNO->WriteGlobalSno('x',"Z:line added due to DNSBL match on %s to expire on %s: %s",
                                                        them->GetIPString().c_str(), timestr.c_str(), reason.c_str());
                                                ServerInstance->XLines->ApplyLines();
                                        }