summaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r--src/modules/m_timedbans.cpp7
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