cs_register.c File Reference

#include "module.h"

Include dependency graph for cs_register.c:

Go to the source code of this file.

Functions

int do_register (User *u)
void myChanServHelp (User *u)
int AnopeInit (int argc, char **argv)
void AnopeFini (void)


Function Documentation

void AnopeFini ( void   ) 

Unload the module

Definition at line 48 of file cs_register.c.

int AnopeInit ( int  argc,
char **  argv 
)

Create the off command, and tell anope about it.

Parameters:
argc Argument count
argv Argument list
Returns:
MOD_CONT to allow the module, MOD_STOP to stop it

Definition at line 27 of file cs_register.c.

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

int do_register ( User u  ) 

The /cs register command.

Parameters:
u The user who issued the command
MOD_CONT to continue processing other modules, MOD_STOP to stop processing.
The /ns register command.
Parameters:
u The user who issued the command
MOD_CONT to continue processing other modules, MOD_STOP to stop processing.

Definition at line 69 of file cs_register.c.

References ircdvars_::admin, ircdvars_::adminset, alog(), anope_cmd_mode(), anope_valid_chan(), chaninfo_::bantype, chaninfo_::bi, chaninfo_::botflags, BSDefFlags, chaninfo_::c, c, user_::u_chaninfolist::chan, chan_has_user_status(), nickcore_::channelcount, nickcore_::channelmax, check_modes(), checkDefCon(), channel_::ci, CI_VERBOTEN, cs_findchan(), CSDefBantype, CSDefFlags, CUS_OP, DEFCON_NO_NEW_CHANNELS, ircdvars_::defmlock, delchan(), chaninfo_::desc, enc_decrypt(), enc_encrypt_in_place(), EVENT_CHAN_REGISTERED, findchan(), chaninfo_::flags, chaninfo_::founder, user_::founder_chans, chaninfo_::founderpass, user_::host, ircd, is_services_admin(), chaninfo_::last_topic, chaninfo_::last_topic_setter, chaninfo_::last_topic_time, chaninfo_::last_used, makechan(), MemoInfo::memomax, chaninfo_::memos, chaninfo_::mlock_on, MOD_CONT, MSMaxMemos, user_::na, chaninfo_::name, nickalias_::nc, user_::nick, nick_recognized(), NICKMAX, notice_lang(), ircdvars_::owner, ircdvars_::ownerset, PASSMAX, user_::u_chaninfolist::prev, readonly, s_ChanServ, s_NickServ, scalloc(), send_event(), sstrdup(), stricmp(), StrictPasswords, strscpy(), syntax_error(), chaninfo_::time_registered, channel_::topic, channel_::topic_setter, channel_::topic_time, and user_::username.

Referenced by AnopeInit(), and ns_do_register().

void myChanServHelp ( User u  ) 

Add the help response to anopes /cs help output.

Parameters:
u The user who is requesting help


Generated on Sun Oct 5 09:07:02 2008 for Anope by  doxygen 1.5.7.1