diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-01-02 23:15:09 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-01-02 23:15:09 +0000 |
commit | 7fdb199071b8f83860e33d9548f014c54c95fbe2 (patch) | |
tree | 40970e92a2b9b335519999d0efafd2bc71b81c2d /src/modules/m_spanningtree/main.h | |
parent | 0aac6a2b2ac1dca4783c4deeda5fdde031c8a612 (diff) |
If a module is loaded after m_spanningtree that it needs, then it will now re-read its configuration file. The code is also now in the right place to pick this up on rehash too not just on load.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10934 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.h')
-rw-r--r-- | src/modules/m_spanningtree/main.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index 830fc9926..1a9c63277 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -49,6 +49,8 @@ class ModuleSpanningTree : public Module CommandRSQuit* command_rsquit; SpanningTreeUtilities* Utils; + void RedoConfig(Module* mod, const std::string &name); + public: CacheRefreshTimer *RefreshTimer; @@ -180,6 +182,8 @@ class ModuleSpanningTree : public Module virtual void ProtoSendMode(void* opaque, TargetTypeFlags target_type, void* target, const std::string &modeline); virtual void ProtoSendMetaData(void* opaque, TargetTypeFlags target_type, void* target, const std::string &extname, const std::string &extdata); virtual void OnEvent(Event* event); + virtual void OnLoadModule(Module* mod,const std::string &name); + virtual void OnUnloadModule(Module* mod,const std::string &name); virtual ~ModuleSpanningTree(); virtual Version GetVersion(); void Prioritize(); |