summaryrefslogtreecommitdiff
path: root/src/modules/m_foobar.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-19 16:34:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-19 16:34:52 +0000
commit22c771094bfce2700869a319945e278177d3a2f5 (patch)
treecd956227ef7e9bd5814aee9c25d33e3e99032919 /src/modules/m_foobar.cpp
parent8ac2fa846b189fa649ef8591bc4e311ab613f283 (diff)
Bad test code here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9548 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r--src/modules/m_foobar.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index 6ab156fb0..667a739a5 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -88,9 +88,6 @@ class ModuleFoobar : public Module
virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs, const std::string &keygiven)
{
- if (chan->IsExtBanned(user, 'n'))
- return 1;
-
return 0;
}
};