1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-25 01:56:38 +02:00
Files
unrealircd/include/badwords.h
T
Bram Matthys ef64b411c8 ...
2010-12-12 16:39:12 +00:00

17 lines
248 B
C

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