diff options
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r-- | src/modules/m_nicklock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index 6f2e94cd4..74625da38 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -111,6 +111,8 @@ class ModuleNickLock : public Module cmd2 = new CommandNickunlock(ServerInstance); ServerInstance->AddCommand(cmd1); ServerInstance->AddCommand(cmd2); + Implementation eventlist[] = { I_OnUserPreNick, I_OnUserQuit, I_OnCleanup }; + ServerInstance->Modules->Attach(eventlist, this, 3); } virtual ~ModuleNickLock() |