diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-17 00:31:42 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-17 00:31:42 +0000 |
commit | 7af9e42d2150e17139342cb56c3617dc9b75859a (patch) | |
tree | 195f633d774c80f612e126d99ac8324ee0acaf55 /src/core | |
parent | abd083b1e348b279ee354f7973307c5e29428388 (diff) |
Hook events correctly in constructor.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2105 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/os_news.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/os_news.c b/src/core/os_news.c index a8fdbfabf..1e122d303 100644 --- a/src/core/os_news.c +++ b/src/core/os_news.c @@ -378,6 +378,7 @@ class OSNews : public Module OSOperNews = new CommandOSOperNews(); this->AddCommand(OPERSERV, OSOperNews, MOD_UNIQUE); this->AddCommand(OPERSERV, new CommandOSRandomNews(), MOD_UNIQUE); + ModuleManager::Attach(I_OnReload, this); this->SetOperHelp(myOperServHelp); } |