1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-29 22:56:37 +02:00
Files
Bram Matthys 8ea0ac5f4c RC1
2004-02-14 20:23:42 +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