summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 12:11:02 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-11 12:11:02 +0000
commit9e8368cd8be5b6174a298124b40d47b70ce6d6c6 (patch)
treec478acd01ffbc61fdef768449cc544b2c1c901a6 /src
parentea75fb5c4c0ae8a5374129bf1ba45ec6d5646ca5 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_dnsbl.cpp4
1 files changed, 1 insertions, 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. */