1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-26 13:56:37 +02:00
Files
unrealircd/include/badwords.h
T
2001-07-13 21:06:54 +00:00

23 lines
345 B
C

#ifndef __BADWORDS_H
#define __BADWORDS_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_REGEX
#include <regex.h>
#else
#include "../extras/regex/regex.h"
#endif
#define MAX_MATCH 1
#define MAX_WORDLEN 64
#define PATTERN "\\w*%s\\w*"
#define REPLACEWORD "<censored>"
char *stripbadwords(char *, int);
#endif