diff options
Diffstat (limited to 'src/modules/m_cban.cpp')
-rw-r--r-- | src/modules/m_cban.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 7d80eb4ca..5fe2191a1 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -120,6 +120,11 @@ class ModuleCBan : public Module Srv->AddCommand(mycommand); } + void Implements(char* List) + { + List[I_OnUserPreJoin] = 1; + } + virtual int OnUserPreJoin(userrec *user, chanrec *chan, const char *cname) { /* check cbans in here, and apply as necessary. */ |