diff options
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r-- | src/modules/m_foobar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp index 91afe9df7..1e47cfcbc 100644 --- a/src/modules/m_foobar.cpp +++ b/src/modules/m_foobar.cpp @@ -35,6 +35,8 @@ class ModuleFoobar : public Module // The constructor just makes a copy of the server class + Implementation eventlist[] = { I_OnUserConnect, I_OnUserQuit, I_OnUserJoin, I_OnUserPart }; + ServerInstance->Modules->Attach(eventlist, this, 4); } virtual ~ModuleFoobar() |