diff options
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r-- | src/modules/m_timedbans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 6c91d1156..4be32ffc2 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -162,7 +162,7 @@ class ModuleTimedBans : public Module setban[1] = "-b"; setban[2] = i->mask.c_str(); - ServerInstance->PI->SendMode(i->channel, std::string("-b ") + setban[2]); + ServerInstance->PI->SendModeStr(i->channel, std::string("-b ") + setban[2]); ServerInstance->SendMode(setban,3, ServerInstance->FakeClient); CUList empty; |