From 9e8368cd8be5b6174a298124b40d47b70ce6d6c6 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 11 May 2007 12:11:02 +0000 Subject: [PATCH] Fix a slightly out of date comment (from before the days of the self commenting IS_LOCAL :p) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6971 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_dnsbl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/m_dnsbl.cpp b/src/modules/m_dnsbl.cpp index ccb2dcd9c..3c6260a72 100644 --- a/src/modules/m_dnsbl.cpp +++ b/src/modules/m_dnsbl.cpp @@ -257,11 +257,9 @@ class ModuleDNSBL : public Module ReadConf(); } - /* - * We will check each user that connects *locally* (userrec::fd>0) - */ virtual int OnUserRegister(userrec* user) { + /* only do lookups on local users */ if (IS_LOCAL(user)) { /* following code taken from bopm, reverses an IP address. */ -- 2.39.5