class CensorException : public ModuleException
{
public:
- virtual char* GetReason()
+ virtual const char* GetReason()
{
return "Could not find <censor file=\"\"> definition in your config file!";
}
else if (target_type == TYPE_CHANNEL)
{
chanrec* t = (chanrec*)dest;
- active = (t->IsCustomModeSet('G'));
+ active = (t->IsModeSet('G'));
}
if (active)