diff options
| author | 2006-07-30 11:21:03 +0000 | |
|---|---|---|
| committer | 2006-07-30 11:21:03 +0000 | |
| commit | 18c9cd69405d99e138b95eca7f6d31b9d90fd98d (patch) | |
| tree | c6ea4e2ac3c95924184fe94bdb70108be3f6c8a4 /src/modules/m_timedbans.cpp | |
| parent | Extra debugging just in case we need it (diff) | |
Fix m_timedbans to send out the mode removal REMOTELY on expire so that other servers have the mode removed
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4594 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_timedbans.cpp')
| -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 9cf3201f5..02976e8f6 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 |
