diff options
author | Adam <Adam@anope.org> | 2013-05-06 07:40:43 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-06 07:40:43 -0400 |
commit | ef06226521d27de88a49a84d8224568fec7624c3 (patch) | |
tree | ac67340c29521150bbcedc995ffeb7058366fe5e /modules/extra/m_xmlrpc.cpp | |
parent | 4c669b947ff090f50fef379cfc1b2cad08ecc486 (diff) |
Update the rest of modules.example.conf, default inspircd status modes to a sane rank incase they are prefixless, and 50 other things
Diffstat (limited to 'modules/extra/m_xmlrpc.cpp')
-rw-r--r-- | modules/extra/m_xmlrpc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/extra/m_xmlrpc.cpp b/modules/extra/m_xmlrpc.cpp index c1a9bc1d5..66e2db9ac 100644 --- a/modules/extra/m_xmlrpc.cpp +++ b/modules/extra/m_xmlrpc.cpp @@ -177,6 +177,11 @@ class ModuleXMLRPC : public Module if (httpref) httpref->UnregisterPage(&xmlrpcinterface); } + + void OnReload(Configuration::Conf *conf) anope_override + { + this->httpref = ServiceReference<HTTPProvider>("HTTPProvider", conf->GetModule(this)->Get<const Anope::string>("server", "httpd/main")); + } }; MODULE_INIT(ModuleXMLRPC) |