diff options
| author | 2018-04-07 15:07:24 +0100 | |
|---|---|---|
| committer | 2018-04-08 16:54:27 +0100 | |
| commit | 454c8d374955d2ffb3ec1fca39a6efc32032c649 (patch) | |
| tree | eba7066c77408fb909c74154bcf52df34c0911a9 /src/modules/m_spanningtree/main.cpp | |
| parent | Fix some more oversights in m_geoip. (diff) | |
Move OnStats from the core to a cross-module event.
Some core code still exists in the XLine system but this will be
replaced when the XLine system is replaced later.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 1a77237bd..2fd578698 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -37,7 +37,10 @@ #include "translate.h" ModuleSpanningTree::ModuleSpanningTree() - : rconnect(this), rsquit(this), map(this) + : Stats::EventListener(this) + , rconnect(this) + , rsquit(this) + , map(this) , commands(this) , currmembid(0) , eventprov(this, "event/server") |
