#include "module.h"
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) |
| 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.
| argc | Argument count | |
| argv | Argument list |
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.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
| 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.
| u | The user who is requesting help |
1.5.7.1