summaryrefslogtreecommitdiff
path: root/src/modules/m_gecosban.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-12 21:25:11 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-12 21:25:11 +0000
commit4676743fac7383346b7768e7a98f25e16b68826f (patch)
tree03678b16bbd21ca9657be6d1ebb4d8092fb1bbd2 /src/modules/m_gecosban.cpp
parent6f4b5cbc450ca08c022e02de6495673c710d7667 (diff)
Make m_gecosban work. We can't make assumptions about how an extban banmask must look, as they won't necessarily be a usermask type affair. :(
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9991 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_gecosban.cpp')
-rw-r--r--src/modules/m_gecosban.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_gecosban.cpp b/src/modules/m_gecosban.cpp
index 49ca17fe0..3c041c548 100644
--- a/src/modules/m_gecosban.cpp
+++ b/src/modules/m_gecosban.cpp
@@ -42,6 +42,8 @@ class ModuleNickBan : public Module
if (!c)
return 0;
+ ServerInstance->Logs->Log("EXTBANS", DEBUG, "Checking if %s is banned", user->fullname.c_str());
+
if (c->IsExtBanned(user->fullname, 'r'))
{
// XXX: send a numeric here