1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 07:16:38 +02:00
Files
Bram Matthys 013da5b350 3.2
2004-04-24 23:19:57 +00:00

21 lines
301 B
C

#ifndef __BADWORDS_H
#define __BADWORDS_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef _WIN32
#include "tre/regex.h"
#else
#include "win32/regex.h"
#endif
#define MAX_MATCH 1
#define MAX_WORDLEN 64
#define PATTERN "\\w*%s\\w*"
#define REPLACEWORD "<censored>"
#endif