X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_joinflood.cpp;h=f818484e89be9673bcec221f88ea083c4e390ba1;hb=6ab1d0dffb8084bf6a2ad8a446a3836fa3760c8a;hp=3068c5209fadeeb19aa4783b06d11d8f6bc37c54;hpb=903ba4e2ebf608737e1890cfa43c3e92a9ec2cf4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 3068c5209..f818484e8 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -224,7 +224,7 @@ class ModuleJoinFlood : public Module { f->clear(); f->lock(); - WriteChannelWithServ((char*)Srv->GetServerName().c_str(), channel, "NOTICE %s :This channel has been closed to new users for 60 seconds because there have been more than %d joins in %d seconds.",channel->name,f->joins,f->secs); + channel->WriteChannelWithServ((char*)Srv->GetServerName().c_str(), "NOTICE %s :This channel has been closed to new users for 60 seconds because there have been more than %d joins in %d seconds.", channel->name, f->joins, f->secs); } } }