summaryrefslogtreecommitdiff
path: root/src/modules/m_denychans.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:25:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:25:56 +0000
commit9e7c48c59f3ffda80eb979aed43f5491c80b7e75 (patch)
treec3e29964877a23765a7a511abbf089ad7ef315c6 /src/modules/m_denychans.cpp
parent9861679f40d2a4f03e524998039c00d2bc838636 (diff)
Converted more stuff to 'Implements' system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2658 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_denychans.cpp')
-rw-r--r--src/modules/m_denychans.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index ab0c3616f..1da4158d3 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -50,6 +50,11 @@ class ModuleDenyChannels : public Module
return Version(1,0,0,1,VF_VENDOR);
}
+ void Implements(char* List)
+ {
+ List[I_OnUserPreJoin] = 1;
+ }
+
virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname)
{
for (int j =0; j < Conf->Enumerate("badchan"); j++)