class CensorUser : public SimpleUserModeHandler
{
public:
- CensorUser(Module* Creator) : SimpleUserModeHandler(Creator, 'G') { }
+ CensorUser(Module* Creator) : SimpleUserModeHandler(Creator, "censor", 'G') { }
};
/** Handles channel mode +G
class CensorChannel : public SimpleChannelModeHandler
{
public:
- CensorChannel(Module* Creator) : SimpleChannelModeHandler(Creator, 'G') { }
+ CensorChannel(Module* Creator) : SimpleChannelModeHandler(Creator, "censor", 'G') { }
};
class ModuleCensor : public Module
virtual ~ModuleCensor()
{
- ServerInstance->Modes->DelMode(&cu);
- ServerInstance->Modes->DelMode(&cc);
}
// format of a config entry is <badword text="shit" replace="poo">