Anope IRC Services  Version 1.8
Macros | Functions
cs_enforce.c File Reference
#include "module.h"
Include dependency graph for cs_enforce.c:

Go to the source code of this file.

Macros

#define AUTHOR   "Anope"
 
#define VERSION   VERSION_STRING
 
#define LNG_NUM_STRINGS   6
 
#define LNG_CHAN_HELP   0
 
#define LNG_ENFORCE_SYNTAX   1
 
#define LNG_CHAN_HELP_ENFORCE   2
 
#define LNG_CHAN_HELP_ENFORCE_R_ENABLED   3
 
#define LNG_CHAN_HELP_ENFORCE_R_DISABLED   4
 
#define LNG_CHAN_RESPONSE   5
 

Functions

static int my_cs_enforce (User *u)
 
static void my_cs_help (User *u)
 
static int my_cs_help_enforce (User *u)
 
static void my_add_languages (void)
 
int AnopeInit (int argc, char **argv)
 
void AnopeFini (void)
 
static void do_enforce_secureops (Channel *c)
 
static void do_enforce_restricted (Channel *c)
 
static void do_enforce_cmode_R (Channel *c)
 
static void do_enforce_set (Channel *c)
 
static void do_enforce_modes (Channel *c)
 

Macro Definition Documentation

#define AUTHOR   "Anope"

Definition at line 18 of file cs_enforce.c.

Referenced by AnopeInit().

#define LNG_CHAN_HELP   0

Definition at line 28 of file cs_enforce.c.

Referenced by my_cs_help().

#define LNG_CHAN_HELP_ENFORCE   2

Definition at line 30 of file cs_enforce.c.

Referenced by my_cs_help_enforce().

#define LNG_CHAN_HELP_ENFORCE_R_DISABLED   4

Definition at line 32 of file cs_enforce.c.

Referenced by my_cs_help_enforce().

#define LNG_CHAN_HELP_ENFORCE_R_ENABLED   3

Definition at line 31 of file cs_enforce.c.

Referenced by my_cs_help_enforce().

#define LNG_CHAN_RESPONSE   5

Definition at line 33 of file cs_enforce.c.

Referenced by my_cs_enforce().

#define LNG_ENFORCE_SYNTAX   1

Definition at line 29 of file cs_enforce.c.

Referenced by my_cs_enforce(), and my_cs_help_enforce().

#define LNG_NUM_STRINGS   6

Definition at line 26 of file cs_enforce.c.

Referenced by my_add_languages().

#define VERSION   VERSION_STRING

Definition at line 19 of file cs_enforce.c.

Referenced by AnopeInit().

Function Documentation

void AnopeFini ( void  )

Definition at line 58 of file cs_enforce.c.

int AnopeInit ( int  argc,
char **  argv 
)
static void do_enforce_cmode_R ( Channel c)
static
static void do_enforce_modes ( Channel c)
static

Definition at line 185 of file cs_enforce.c.

References cbmodes, do_enforce_cmode_R(), cbmode_::flag, and channel_::mode.

Referenced by my_cs_enforce().

static void do_enforce_restricted ( Channel c)
static
static void do_enforce_secureops ( Channel c)
static
static void do_enforce_set ( Channel c)
static
static void my_add_languages ( void  )
static

Definition at line 264 of file cs_enforce.c.

References LANG_DE, LANG_EN_US, LANG_FR, LANG_IT, LANG_NL, LANG_PT, LANG_RU, LNG_NUM_STRINGS, and moduleInsertLanguage().

Referenced by AnopeInit().

static int my_cs_enforce ( User u)
static
static void my_cs_help ( User u)
static

Definition at line 245 of file cs_enforce.c.

References LNG_CHAN_HELP, moduleNoticeLang(), and s_ChanServ.

Referenced by AnopeInit().

static int my_cs_help_enforce ( User u)
static