#include "inspircd.h"
-/* $ModDesc: Provides channel mode +C to block CTCPs */
-
class NoCTCP : public SimpleChannelModeHandler
{
public:
void init() CXX11_OVERRIDE
{
ServerInstance->Modules->AddService(nc);
- Implementation eventlist[] = { I_OnUserPreMessage, I_On005Numeric };
- ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
}
Version GetVersion() CXX11_OVERRIDE