diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 21:14:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 21:14:49 +0000 |
commit | b9e643261230d3b71517b0bc631c3b306e7246fa (patch) | |
tree | ef6912b4891f933b5a061a3a88633b394d0ab774 /src/modules/m_restrictchans.cpp | |
parent | 8d4551953561efc7baae31ed2529dd2371908b6c (diff) |
Converted to 'Implements' system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2666 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
-rw-r--r-- | src/modules/m_restrictchans.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index 77ab094b6..794f2db82 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -34,6 +34,11 @@ class ModuleRestrictChans : public Module { Srv = Me; } + + void Implements(char* List) + { + List[I_OnUserPreJoin] = 1; + } virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) { |