diff options
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r-- | src/modules/m_nicklock.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index 37e9d49bd..750b431cf 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -118,6 +118,11 @@ class ModuleNickLock : public Module return Version(1,0,0,1,VF_VENDOR); } + void Implements(char* List) + { + List[I_OnUserPreNick] = List[I_OnUserQuit] = 1; + } + virtual int OnUserPreNick(userrec* user, std::string newnick) { if (user->GetExt("nick_locked")) |