diff options
Diffstat (limited to 'src/modules/m_denychans.cpp')
-rw-r--r-- | src/modules/m_denychans.cpp | 5 |
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++) |