diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_timedbans.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 610057ae3..9477a37f6 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -175,6 +175,13 @@ class ModuleTimedBans : public Module temp->fd = FD_MAGIC_NUMBER; temp->server = ""; Srv->SendMode(setban,3,temp); + /* FIX: Send mode remotely*/ + std::deque<std::string> n; + n.push_back(i->channel); + n.push_back("-b"); + n.push_back(i->mask); + Event rmode((char *)&n, NULL, "send_mode"); + rmode.Send(); DELETE(temp); } else |