1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 08:03:12 +02:00
Files
unrealircd/include/badwords.h
T
stskeeps 64b46a7123 - Fixed a MYOSNAME bug (ret is <0 if failure)
- Changed regexp engine to PCRE. Heads up: May severely break things. You
  need to ./Config -q; make clean all to get this working.
- Laid groundwork for seperated build (onlycommands, commandsandmodules,
  onlymodules)
2007-06-20 00:35:07 +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 "pcreposix.h"
#else
#include "win32/regex.h"
#endif
#define MAX_MATCH 1
#define MAX_WORDLEN 64
#define PATTERN "\\w*%s\\w*"
#define REPLACEWORD "<censored>"
#endif