diff options
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index d3f1c8229..34f3e617e 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1708,6 +1708,16 @@ class ModuleSpanningTree : public Module DoOneToMany(user->nick,"TOPIC",params); } + virtual void OnWallops(userrec* user, std::string text) + { + if (std::string(user->server) == Srv->GetServerName()) + { + std::deque<std::string> params; + params.push_back(":"+text); + DoOneToMany(user->nick,"WALLOPS",params); + } + } + virtual void OnUserNotice(userrec* user, void* dest, int target_type, std::string text) { if (target_type == TYPE_USER) |