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

Go to the source code of this file.

Macros

#define CHECKLEV(lev)   ((ci->levels[(lev)] != ACCESS_INVALID) && (access->level >= ci->levels[(lev)]))
 

Functions

static int do_set (User *u)
 
static int do_set_founder (User *u, ChannelInfo *ci, char *param)
 
static int do_set_successor (User *u, ChannelInfo *ci, char *param)
 
static int do_set_password (User *u, ChannelInfo *ci, char *param)
 
static int do_set_desc (User *u, ChannelInfo *ci, char *param)
 
static int do_set_url (User *u, ChannelInfo *ci, char *param)
 
static int do_set_email (User *u, ChannelInfo *ci, char *param)
 
static int do_set_entrymsg (User *u, ChannelInfo *ci, char *param)
 
static int do_set_bantype (User *u, ChannelInfo *ci, char *param)
 
static int do_set_mlock (User *u, ChannelInfo *ci, char *param)
 
static int do_set_keeptopic (User *u, ChannelInfo *ci, char *param)
 
static int do_set_topiclock (User *u, ChannelInfo *ci, char *param)
 
static int do_set_private (User *u, ChannelInfo *ci, char *param)
 
static int do_set_secureops (User *u, ChannelInfo *ci, char *param)
 
static int do_set_securefounder (User *u, ChannelInfo *ci, char *param)
 
static int do_set_restricted (User *u, ChannelInfo *ci, char *param)
 
static int do_set_secure (User *u, ChannelInfo *ci, char *param)
 
static int do_set_signkick (User *u, ChannelInfo *ci, char *param)
 
static int do_set_opnotice (User *u, ChannelInfo *ci, char *param)
 
static int do_set_xop (User *u, ChannelInfo *ci, char *param)
 
static int do_set_peace (User *u, ChannelInfo *ci, char *param)
 
static int do_set_noexpire (User *u, ChannelInfo *ci, char *param)
 
static void myChanServHelp (User *u)
 
int AnopeInit (int argc, char **argv)
 
void AnopeFini (void)
 

Macro Definition Documentation

#define CHECKLEV (   lev)    ((ci->levels[(lev)] != ACCESS_INVALID) && (access->level >= ci->levels[(lev)]))

Definition at line 802 of file cs_set.c.

Referenced by do_set_xop().

Function Documentation

void AnopeFini ( void  )

Unload the module

Definition at line 134 of file cs_set.c.

int AnopeInit ( int  argc,
char **  argv 
)

Create the command, and tell anope about it.

Parameters
argcArgument count
argvArgument list
Returns
MOD_CONT to allow the module, MOD_STOP to stop it

Definition at line 48 of file cs_set.c.

References c, CHANSERV, CORE, createCommand(), CSMaxReg, do_set(), Command_::help_param1, MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetChanHelp(), moduleSetType(), myChanServHelp(), and s_NickServ.

static int do_set ( User u)
static
static int do_set_bantype ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_desc ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_email ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_entrymsg ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_founder ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_keeptopic ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_mlock ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_noexpire ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_opnotice ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_password ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_peace ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_private ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_restricted ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_secure ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_securefounder ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_secureops ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_signkick ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_successor ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_topiclock ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_url ( User u,
ChannelInfo ci,
char *  param 
)
static
static int do_set_xop ( User u,
ChannelInfo ci,
char *  param 
)
static
static void myChanServHelp ( User u)
static

Add the help response to anopes /cs help output.

Parameters
uThe user who is requesting help

Definition at line 143 of file cs_set.c.

References notice_lang(), and s_ChanServ.

Referenced by AnopeInit().