summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-17 00:31:42 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-17 00:31:42 +0000
commit7af9e42d2150e17139342cb56c3617dc9b75859a (patch)
tree195f633d774c80f612e126d99ac8324ee0acaf55 /src/core
parentabd083b1e348b279ee354f7973307c5e29428388 (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.c1
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);
}