X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_timedbans.cpp;h=4be32ffc2f14c22175a303d524d2b81f501fdf9c;hb=05cc48f1894e40f8a34496bf54a60d8b911e6a5e;hp=6c91d115682dff608555def809c8faa1f8229b41;hpb=d3d32dcf6ddb15d8ca9089de63a51b45b437a063;p=user%2Fhenk%2Fcode%2Finspircd.git 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;